Created
September 9, 2019 15:54
-
-
Save tuffacton/cc32579d52b218c459db591387025ef2 to your computer and use it in GitHub Desktop.
A nominal S3 bucket policy based on canonical IDs
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
| { | |
| "Id": "Policy1556720691353", | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "Stmt1556720652492", | |
| "Action": [ | |
| "s3:ListBucket" | |
| ], | |
| "Effect": "Allow", | |
| "Resource": "arn:aws:s3:::<bucket>", | |
| "Principal": { | |
| "CanonicalUser": "Canonical-ID-String" | |
| } | |
| }, | |
| { | |
| "Sid": "Stmt1556720690235", | |
| "Action": [ | |
| "s3:GetObject" | |
| ], | |
| "Effect": "Allow", | |
| "Resource": "arn:aws:s3:::<bucket>/*", | |
| "Principal": { | |
| "CanonicalUser": "Canonical-ID-String" | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.