Skip to content

Instantly share code, notes, and snippets.

@ntantri
Created September 12, 2019 06:59
Show Gist options
  • Save ntantri/2753b73204dfdef290ae2b6a51062288 to your computer and use it in GitHub Desktop.
Save ntantri/2753b73204dfdef290ae2b6a51062288 to your computer and use it in GitHub Desktop.
Trust Relationship for AssumeRole
{
"Version": "2018-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"Service": "ec2.amazonaws.com"
},
"Action": "sts:AssumeRole"
},
{
"Sid": "",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::<acount-id>:role/clients/our-client"
},
"Action": "sts:AssumeRole"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment