amazon s3 invalid principal in bucket policy


I’m trying to create a new bucket policy in the Amazon S3 console and get the error

Invalid principal in policy – “AWS” : “my_username”

The username I’m using in principal is my default bucket grantee.

My policy

I don;t understand why I’m getting the error. What am I doing wrong?


As the error message says, your principal is incorrect. Check the S3 documentation on specifying Principals for how to fix it. As seen in the example policies, it needs to be something like arn:aws:iam::111122223333:root.

Leave a Reply