Skip to content

Instantly share code, notes, and snippets.

@stevelippert
Created October 12, 2016 19:58
Show Gist options
  • Save stevelippert/20aa787c2d655e69bf312fb2cfdadeb0 to your computer and use it in GitHub Desktop.
Save stevelippert/20aa787c2d655e69bf312fb2cfdadeb0 to your computer and use it in GitHub Desktop.
A simple Amazon S3 Bucket policy to allow public viewing of assets.
{
"Version":"2012-10-17",
"Statement":[{
"Sid":"AddPerm",
"Effect":"Allow",
"Principal": "*",
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::weatherstem/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment