How-To Guides / IAM How to list all roles in your AWS account Run the below command to view all the roles defined in an AWS account. aws iam list-roles Share this:Click to share on WhatsApp (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Click to share on Reddit (Opens in new window) Related See also How to host a static website using Amazon S3