cvwiki

S3 Security

Nov 5, 2022

# S3 Security

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
  "Version": "2012-10-17"
	"Statement": [
		"Sid": "PublicRead",
		"Effect": "Allow",
		"Principal": "*", // The principal part of a policy defines who that statement applies to. (which identities, principal)
		"Action": ["s3:GetObject"],
		"Resource": ["arn:aws:s3:::secretcatproject/*]
	]
}

# When To Use Which Policy

# S3 Permissions

# S3 Bucket Policy (Resource Policy)

# Block Public Access Settings

# Access Control Lists (ACLs) - Legacy