We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ae221 commit d7a3eccCopy full SHA for d7a3ecc
terraform/aws-custom-policies/enforce-mfa-for-users-policy.json
@@ -20,6 +20,25 @@
20
"aws:MultiFactorAuthPresent": "false"
21
}
22
23
- }
+ },
24
+ {
25
+ "Sid": "AllowManageOwnVirtualMFADevice",
26
+ "Effect": "Allow",
27
+ "Action": [
28
+ "iam:CreateVirtualMFADevice"
29
+ ],
30
+ "Resource": "arn:aws:iam::*:mfa/*"
31
32
33
+ "Sid": "AllowManageOwnUserMFA",
34
35
36
+ "iam:DeactivateMFADevice",
37
+ "iam:EnableMFADevice",
38
+ "iam:ListMFADevices",
39
+ "iam:ResyncMFADevice"
40
41
+ "Resource": "arn:aws:iam::*:user/${aws:username}"
42
+ }
43
]
44
0 commit comments