aws-iam

CLI for AWS IAM.

TLDR

Show aws iam help page (including all available iam commands)

$ aws iam help
copy

List users

$ aws iam list-users
copy

List policies

$ aws iam list-policies
copy

List groups

$ aws iam list-groups
copy

Get users in a group

$ aws iam get-group --group-name [group_name]
copy

Describe an IAM policy

$ aws iam get-policy --policy-arn arn:aws:iam::aws:policy/[policy_name]
copy

List access keys

$ aws iam list-access-keys
copy

List access keys for a specific user

$ aws iam list-access-keys --user-name [user_name]
copy

Copied to clipboard
free 100$ digital ocean credit