{{ }} Substitute variables

Adjust the variable values according to your preference.

Policy Code

1{
2  "Version" : "2012-10-17",
3  "Id" : "Public Read Only",
4  "Statement" : [
5    {
6      "Sid" : "Permit public",  
7      "Effect" : "Allow",
8      "Principal" : "*",
9      "Action" : "s3:ListBucket",
10      "Resource" : "arn:aws:s3:::(bucket-name-here)"
11    }
12  ]
13}
DOC

Remember to turn on public access on your S3 bucket as well.

    Get the IAM Pulse Check Newsletter

    We send out a periodic newsletter full of tips & tricks, contributions from the community, commentary on the industry, relevant social posts, and more.

    Checkout past issues for a sampling of the goods.