Created
September 12, 2019 06:56
-
-
Save ntantri/2858e7c0f2ac33baaaf9ec4d12003c67 to your computer and use it in GitHub Desktop.
Assume Policy For Cross AWS Account
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2019-08-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": [ | |
"sts:DecodeAuthorizationMessage", | |
"sts:GetAccessKeyInfo", | |
"sts:GetCallerIdentity" | |
], | |
"Resource": "*" | |
}, | |
{ | |
"Sid": "VisualEditor1", | |
"Effect": "Allow", | |
"Action": "sts:*", | |
"Resource": "arn:aws:iam::<acount-id>:role/clients/our-client" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment