Skip to content

Instantly share code, notes, and snippets.

@jcbagtas
Last active March 24, 2018 05:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
AWS Bucket Policy for Public Buckets
{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:*",
"Resource": "arn:aws:s3:::yourbucket.domainname.com/*"
}
]
}
@jcbagtas
Copy link
Author

Just put this as your bucket policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment