Show IAM roles in the account.
Section: Roles, Trust, and Access Keys
List roles
bash
bash
aws iam list-rolesExplanation
Core inventory command for role-based access setups.
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