S3 Error: The AWS Access Key Id you provided does not exist in our records

0

I have deleted the old access key+secret and created a new root access key. But I am still getting the following error: The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: SZVN2WBZHJY258VY; S3 Extended Request ID: e/QpOO21+ZDdwGSA9hhFHaFu/nsJDavTmSdrdTzC9PqfJGvjvrg3ZNky/2ym3/HppBRKDE9vfxQ=)

What is is the reason for this error and why does it not work altough it worked before I have deleted the first key?

Leolux
gefragt vor 7 Monaten508 Aufrufe
5 Antworten
1

Hi Leolux,

I think you should verify by running the command "aws sts get-caller-identity" with the new credentials configured. [1]

And, as mentioned by @Victor, please confirm all the points, especially if the Access Key is active or not. [2]
If "Active", it should look like this (highlighted part):
Status of Access Key

References:
[1] https://docs.aws.amazon.com/cli/latest/reference/sts/get-caller-identity.html#examples
[2] https://repost.aws/knowledge-center/s3-access-key-error

profile picture
beantwortet vor 7 Monaten
0

Enter image description here Hi, the command "aws sts get-caller-identity" executed with the new credentials returns three values for UserId, Account and Arn. I am not sure how this helps.

@IBAtulAnand: You shared a screenshot how the "active" status gets displayed. The problem is that my UI looks differently and I cannot extend the access key to check the status flag. So where can I find this page? IYou can see my screenshot and the status is active as well altough the UI looks not the same?

Leolux
beantwortet vor 7 Monaten
  • My screenshot was taken on the address .console.aws.amazon.com/iamv2/home#/security_credentials

0

Thank you for the step by step guide. I checked all points but still the same issue. Therefore I even more think that the Security department has not correclty removed the account limitations that were removed according the them today.

Leolux
beantwortet vor 7 Monaten
0

When you say "marked as "Active". How does the active mark look like?

Leolux
beantwortet vor 7 Monaten
0

If you are using profiles and the AWS CLI make sure that your

.aws / credentials

file contains the correct key id and secret key.

beantwortet vor 7 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen