Skip to content

Instantly share code, notes, and snippets.

@nisevi
Last active October 6, 2017 23:18
Show Gist options
  • Save nisevi/9c2656e4a2a585f3a93ea469fbbd83a5 to your computer and use it in GitHub Desktop.
Save nisevi/9c2656e4a2a585f3a93ea469fbbd83a5 to your computer and use it in GitHub Desktop.
Granting Read-Only Permission to an Anonymous User - http://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html
{
"Version":"2012-10-17",
"Statement":[
{
"Sid":"AddPerm",
"Effect":"Allow",
"Principal": "*",
"Action":["s3:GetObject"],
"Resource":["arn:aws:s3:::examplebucket/*"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment