How to find S3 bucket created user?

Viewed 10860

I am using a different AWS user "B" to create an S3 bucket which is different from AWS account owner "A". But when I create an S3 bucket using user "B", I always see my S3 bucket owner as "A". How can I fetch details about the user who actually created the bucket ?

I have tried following S3 APIs, but I get the owner name as "A", not the actual user "B" who created the bucket:

a. getS3AccountOwner

b. getOwner method in Bucket object returned by listBuckets API

c. getBucketAcl API

Thank You In Advance.

1 Answers
Related