I am logging into my AWS personal account using the root email. (I know.. but listen)
My bucket name is this – my-poc-bucket
I am trying to add this to my bucket. Yes. this is correct.
{
"Id": "Policy1719794545711",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1719794541866",
"Action": [
"s3:GetObject"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::my-poc-bucket/*.png",
"Principal": "*"
}
]
}
I get an error
You either don’t have permissions to edit the bucket policy, or your bucket policy grants a level of public access that conflicts with your Block Public Access settings.
To edit a bucket policy, you need the s3:PutBucketPolicy permission.
I am the administrator! How come I do not have access?