17 June 2023

AWS - Make all objects in S3 bucket public

The following is a blanket way to make all the objects in a bucket public.

Create a new bucket policy

Bucket → Permissions → Bucket Policy

Paste the following

{
  "Version": "2012-10-17",
  "Statement": {
    "Action": "s3:GetObject",
    "Effect": "Allow",
    "Resource": "arn:aws:s3:::my-bucket/*",
    "Principal": "*"
  }
}
tags: aws - s3