AWS s3 bucket policy and IAM policy

Create a bucket

  • While creating the bucket the permissions settings are misleading, so just leave it all default.

Set bucket policy

  • If you want to allow public to read we need to generate the following policy.

Create IAM user

  • Add this inline policy to the new IAM user to grant full access.

Advertisements