Today while auditing a friends security settings, I found that an Amazon Folder (s3 bucket) with his most personal files had an unrecognised ACL entry.

A person (with id ending in f6995f) had "Write" access to the bucket. Weirdly no read or list access.

There's no name shown as username. Just an alphanumeric "canonical id" of the entity who has access.

What should he do? He can't contact AWS because

On the Basic Support Plan, you can create account and billing support cases and service limit increase requests, but you cannot create technical support cases.

Is there's a way to find out the person behind the canonical id? At least country/location/IP?


1 Answer 1


The AWS documentation at https://docs.aws.amazon.com/AmazonS3/latest/dev/example-walkthroughs-managing-access-example4.html says:

The canonical user ID is the Amazon S3–only concept. It is a 64-character obfuscated version of the account ID.

Therefore you can't get anything out of the canonical user ID because it's almost certainly a one-way hash (e.g. SHA-256) of some other stuff including the user's ARN.

Try this command and see if you get a "DisplayName" element for the user:

$ aws s3api get-bucket-acl --bucket BUCKETNAME

Source: https://forums.aws.amazon.com/thread.jspa?threadID=286019
(Login required if you have AWS console cookies in your browser, so either log in when prompted or use a private window.)

  • This just worked for me, thanks @Alastair Jul 7, 2021 at 2:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .