Skip to content

Instantly share code, notes, and snippets.

@scarybot
Created January 22, 2020 14:12
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 scarybot/bf580bca68487ee9e776d0ba8a9d357b to your computer and use it in GitHub Desktop.
Save scarybot/bf580bca68487ee9e776d0ba8a9d357b to your computer and use it in GitHub Desktop.
Role trust policy for multi-account model
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::(your account number):root"
},
"Action": "sts:AssumeRole",
"Condition": {
"Bool": {
"aws:MultiFactorAuthPresent": "true"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment