Quick AWS 2 - S3

Posted on October 2, 2021
Tags: aws

1 Security

  1. Bucket Settings (Block all request default)
  2. Bucket Policy (None by default)

1.1 Bucket Policy

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Statement1",
            "Effect": "Allow",
            "Principal": "*",
            "Action": "s3:GetObject",
            "Resource": "arn:aws:s3:::testsitenew/*"
        }
    ]
}
  • Principal is who this rule applies to, Root, Users, etc..
  • Resource is arn:aws:s3:::{BUCKET}/{OBJECT}