mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 09:22:49 -05:00
CreateServiceSpecificCredential resolved the service name first, so a request that named a user who does not exist and a service that is not supported was answered for the service. AWS answers for the user: a recording validated against a real account asks for a credential as a user that was never created, once with CodeCommit and once with a service name nothing supports, and both come back NoSuchEntity with "The user with name <name> cannot be found." The user is confirmed before the service name is read now, under the lock it was already taken under. ListServiceSpecificCredentials had the same shape, with its ServiceName filter resolved ahead of the user it lists for, and reads the two the same way round. Under AllUsers there is no user to look up, so an unsupported filter still answers for itself. What the bounds of CredentialAgeDays say is settled ahead of both by the constraints every request is held to, so only the question that needs the service is left behind it: whether this service takes the member at all. The in-operation bounds stay where they are as the backstop they became.