Certified Security - Specialty

Sign Up Free or Log In to participate!

Unknown field version error when saving S3 Policy allowing only SSL access

{

"version": "2012-10-17",

"Statement": [

{

"Sid": "PublicReadGetObject",

"Effect": "Allow",

"Principal": {

"AWS": "*"

},

"Action": "s3:GetObject",

"Resource": "arn:aws:s3:::tajsecuritybucket1/*"

},

{

"Sid": "PublicReadGetObject",

"Effect": "Deny",

"Principal": {

"AWS": "*"

},

"Action": "s3:GetObject",

"Resource": "arn:aws:s3:::tajsecuritybucket1/*",

"Condition":{

"Bool":{

"aws:SecureTransport": false

}

}

}

]

}

1 Answers

Policy keys are case sensitive; it needs to be "Version", not "version"

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?