Using Console
Using CLI
<user-name>
with the actual username):
<policy-arn>
with the actual ARN of the policy):
ec2:*
, s3:*
, rds:*
, etc.
<user-name>
and <policy-arn>
with the actual values):
Using Python
CreateStack
, DeleteStack
, UpdateStack
, CreateBucket
, DeleteBucket
, etc.
aws configure
command.
list_attached_user_policies
and list_attached_role_policies
methods to get the policies attached to each user or role: