Created
December 7, 2021 00:01
-
-
Save mattgillard/a78cbd6c4b2edeb82c04d9fa716d63b2 to your computer and use it in GitHub Desktop.
simulate-principal-policy example
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
aws --region=us-east-1 iam simulate-principal-policy \ | |
--context-entries ContextKeyName=aws:RequestedRegion,ContextKeyValues=us-east-1,ContextKeyType=string \ | |
--policy-source-arn=arn:aws:iam::123456789:role/OrganizationAccountAccessRole \ | |
--action-names s3:PutObject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment