-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaws-iam
More file actions
36 lines (19 loc) · 640 Bytes
/
aws-iam
File metadata and controls
36 lines (19 loc) · 640 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# aws iam
> CLI for AWS IAM.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/iam/index.html>.
- Show aws iam help page (including all available iam commands):
aws iam help
- List users:
aws iam list-users
- List policies:
aws iam list-policies
- List groups:
aws iam list-groups
- Get users in a group:
aws iam get-group --group-name {{group_name}}
- Describe an IAM policy:
aws iam get-policy --policy-arn arn:aws:iam::aws:policy/{{policy_name}}
- List access keys:
aws iam list-access-keys
- List access keys for a specific user:
aws iam list-access-keys --user-name {{user_name}}