-
Notifications
You must be signed in to change notification settings - Fork 0
/
Create policy to create the user only and can attach policy to them.
52 lines (52 loc) · 1.86 KB
/
Create policy to create the user only and can attach policy to them.
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"iam:ListRoleTags",
"iam:ListServerCertificates",
"iam:ListPoliciesGrantingServiceAccess",
"iam:ListInstanceProfileTags",
"iam:ListServiceSpecificCredentials",
"iam:ListMFADevices",
"iam:ListSigningCertificates",
"iam:CreateUser",
"iam:ListVirtualMFADevices",
"iam:ListInstanceProfilesForRole",
"iam:ListSSHPublicKeys",
"iam:ListAttachedRolePolicies",
"iam:ListOpenIDConnectProviderTags",
"iam:ListAttachedUserPolicies",
"iam:ListSAMLProviderTags",
"iam:ListAttachedGroupPolicies",
"iam:ListPolicyTags",
"iam:ListRolePolicies",
"iam:ListAccessKeys",
"iam:ListPolicies",
"iam:ListSAMLProviders",
"iam:ListGroupPolicies",
"iam:ListEntitiesForPolicy",
"iam:AttachUserPolicy",
"iam:ListRoles",
"iam:ListUserPolicies",
"iam:ListInstanceProfiles",
"iam:ListPolicyVersions",
"iam:ListOpenIDConnectProviders",
"iam:GetUserPolicy",
"iam:ListGroupsForUser",
"iam:ListServerCertificateTags",
"iam:ListAccountAliases",
"iam:ListUsers",
"iam:ListGroups",
"iam:GetUser",
"iam:ListMFADeviceTags",
"iam:GetLoginProfile",
"iam:ListUserTags",
"iam:GetAccountSummary"
],
"Resource": "*"
}
]
}