Last active
December 9, 2018 23:39
-
-
Save peakay/c0c8aaf57a0ea7eeb0c5dc9d85874011 to your computer and use it in GitHub Desktop.
example bucket policy
This file contains 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": "2012-10-17", | |
"Id": "Policy1540246581673", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1540246577650", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "YOUR_ARN SHOULD LOOK LIKE arn:aws:iam::some_numbers:user/your_username " | |
}, | |
"Action": "s3:PutObject", | |
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME/*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment