amazon-web-servicesamazon-s3amazon-iam

S3 Bucket access denied, even for Administrator


First, I have full access to all my s3 buckets (I've administrator permission).

after paying with my s3 bucket policy I'm getting a problem that I cannot view or edit anything in my bucket, and getting the "Access Denied" error message.


Solution

  • It sounds like you have added a Deny rule on a Bucket Policy, which is overriding your Admin permissions. (Yes, it is possible to block access even for Administrators!)

    In such a situation:

    Fortunately, the account's "root" user always has full permissions. This is also why it should be used infrequently and access should be well-protected (eg using Multi-Factor Authentication).