I want to access my Amazon Simple Storage Service (Amazon S3) bucket using the AWS Command Line Interface (AWS CLI), an AWS SDK, or my own application. However, when I send a request to my bucket, I get the error "The AWS Access Key Id you provided does not exist in our records." How can I fix this?

The error message "The AWS Access Key Id you provided does not exist in our records" indicates that there's an issue with the credentials that you're using. The access key that you're using might have been deleted, or the associated AWS Identity and Access Management (IAM) user or role might have been deleted.

To resolve the issue, check credentials that you're using. If you're using the AWS CLI, run this command to list the stored access keys:

aws configure list

If you're using an IAM role associated with an instance, run this command to get the IAM role's Amazon Resource Number (ARN):

aws sts get-caller-identity

After you obtain the credentials that you're using, verify that those credentials are still valid. Open the IAM console, choose Users or Roles, and then check whether the IAM user or role is listed. Then, from the Summary of the IAM user or role, choose the Security credentials view, and then check whether the associated Access keys appear.

If the access keys, the IAM user, or the IAM role are missing, you must create new access keys, or a new user or role. To create new access keys, see Managing Access Keys (Console). To create a new IAM user, see Creating an IAM User in Your AWS Account. To create a new IAM role, see Creating an IAM Role.

Did this page help you? Yes | No

Back to the AWS Support Knowledge Center

Need help? Visit the AWS Support Center

Published: 2019-01-17