Skip to content

Instantly share code, notes, and snippets.

@jimsei
Created November 15, 2013 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimsei/7486986 to your computer and use it in GitHub Desktop.
Save jimsei/7486986 to your computer and use it in GitHub Desktop.
{
"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