Skip to content

Instantly share code, notes, and snippets.

@kunduso
Created June 4, 2021 18:13
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 kunduso/2449d127c428cc53e619b0bfa7e88d3a to your computer and use it in GitHub Desktop.
Save kunduso/2449d127c428cc53e619b0bfa7e88d3a to your computer and use it in GitHub Desktop.
This is a JSON file that is attached to an AWS IAM role using the assume-role-policy-document flag
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::$(TrustedAccountID):root"
},
"Action": "sts:AssumeRole",
"Condition": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment