Skip to content

Instantly share code, notes, and snippets.

@kunduso
Created June 4, 2021 18:18
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/ecd91fb780ffaf4cd5dbe5bc80ceeaec to your computer and use it in GitHub Desktop.
Save kunduso/ecd91fb780ffaf4cd5dbe5bc80ceeaec to your computer and use it in GitHub Desktop.
The policy file is used to allow a user in a Trusted AWS account to be able to assume a role in a Trusting AWS account.
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"sts:AssumeRole"
],
"Effect": "Allow",
"Resource": "arn:aws:iam::$(TrustingAccountID):role/Assume-Role-1"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment