access key last used


need to get details of all or multiple access key last used details or age. I got below command but it just shows only single access key details-

aws iam get-access-key-last-used --access-key-id ABCDEXAMPLE

1 Answer

You can list the access keys and iterate from there; or you can generate and download a credential report that lists all users in your account and the status of their various credentials, including access keys.

For more info, check this document: Getting credential reports for your AWS account

profile picture
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions