Skip to content

Instantly share code, notes, and snippets.

@sponomarev
Last active April 19, 2017 00:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sponomarev/69ae43a226152e0f762d to your computer and use it in GitHub Desktop.
Save sponomarev/69ae43a226152e0f762d to your computer and use it in GitHub Desktop.
AllowPublicRead S3 bucket policy
{
"Id":"AllowPublicRead",
"Statement":[
{
"Sid":"AllowPublicRead",
"Action":[
"s3:GetObject"
],
"Effect":"Allow",
"Resource":"arn:aws:s3:::your-bucket-name/*",
"Principal":{
"AWS":[
"*"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment