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 個答案
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
專家
kentrad
已回答 1 年前
0

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

已回答 1 年前
  • Best to not use root user access keys, especially when IAM user keys will work.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南