Can't find old access key in IAM users list

0

I have an API which is working with S3. There is an access key which I can't find in the list of IAM users, that key created about 4 years ago. It means I can't delete/disable it. Where I can find all my actual access keys and disable some old keys? Thank you!

2 Antworten
1

Using the access keys, run this CLI command:

aws sts get-caller-identity

That will show the account number and IAM user for those keys.

profile pictureAWS
EXPERTE
kentrad
beantwortet vor einem Jahr
0

This key was created by root user long ago - that was the reason.

beantwortet vor einem Jahr
  • Best to not use root user access keys, especially when IAM user keys will work.

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