Inspect active access keys for an IAM user.
Section: Roles, Trust, and Access Keys
List access keys for a user
bash
bash
aws iam list-access-keys --user-name deploy-botExplanation
Useful for rotation and audit workflows.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Roles, Trust, and Access Keys