Skip to content

Instantly share code, notes, and snippets.

@dliggat
Created August 8, 2014 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dliggat/f8af8c7b9270ce6b5d1b to your computer and use it in GitHub Desktop.
Save dliggat/f8af8c7b9270ce6b5d1b to your computer and use it in GitHub Desktop.
S3 Bucket Policy for all files public read: http://awspolicygen.s3.amazonaws.com/policygen.html
{
"Id": "Policy1407525880036",
"Statement": [
{
"Sid": "Stmt1407525872165",
"Action": [
"s3:GetObject"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::$BUCKET_NAME/*",
"Principal": {
"AWS": [
"*"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment