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
See also  How to host a static website using Amazon S3