Skip to content

Instantly share code, notes, and snippets.

@brandongalbraith
Forked from mjenno/IAM self service policy
Last active August 29, 2015 14:09
Show Gist options
  • Save brandongalbraith/0e942721ee822cd83e84 to your computer and use it in GitHub Desktop.
Save brandongalbraith/0e942721ee822cd83e84 to your computer and use it in GitHub Desktop.
{
"Statement": [
{
"Action": [
"iam:*Password*",
"iam:*AccessKey*",
"iam:*SigningCertificate*",
"iam:*MFADevice*",
"iam:UpdateLoginProfile"
],
"Effect": "Allow",
"Resource": [
"arn:aws:iam::{{account_number}}:user/{{username}}"
]
},
{
"Action": [
"iam:*MFADevice*"
],
"Effect": "Allow",
"Resource": [
"arn:aws:iam::{{account_number}}:mfa/{{username}}"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment