for ROLE in $(aws iam list-roles); do aws iam get-role --role-name ROLE; done
aws iam list-roles
aws iam get-role
Advertising: