Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{
"Version":"2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iam:ChangePassword",
"iam:GetAccountPasswordPolicy",
"iam:CreateVirtualMFADevice",
"iam:DeactivateMFADevice",
"iam:ListUsers",
"iam:ListVirtualMFADevices",
"iam:ListUserPolicies",
"iam:DeleteVirtualMFADevice",
"iam:GetLoginProfile",
"iam:UpdateLoginProfile",
"iam:EnableMFADevice",
"iam:CreateLoginProfile"
],
"Resource": [
"arn:aws:iam::<account-id>:user/",
"arn:aws:iam::<account-id>:mfa/",
"arn:aws:iam::<account-id>:user/${aws:username}",
"arn:aws:iam::<account-id>:mfa/${aws:username}"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment