Skip to content

Instantly share code, notes, and snippets.

@epintos
Created November 9, 2015 19:19
Show Gist options
  • Save epintos/f63af3a75adf6993a9ff to your computer and use it in GitHub Desktop.
Save epintos/f63af3a75adf6993a9ff to your computer and use it in GitHub Desktop.
Angular S3 Static Policy Setup
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadGetObject",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::bucket-name/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment