Shabbir Bata
Shabbir Bata

Reputation: 971

How to find out who uploaded data in S3 bucket

I have a shared S3 bucket with other members in the team. Is there a way to find out who uploaded a particular file in the bucket?

Upvotes: 9

Views: 16678

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269826

Buckets are owned by an AWS Account, not individual users. When a user makes an API call, AWS authenticates the user and verifies that they have permission to make the call. After that, it is the Account that owns the content. (Although objects can sometimes have a specific owner, which gets even more confusing.)

You can now use AWS CloudTrail to track data events on Amazon S3:

AWS CloudTrail now supports Amazon S3 Data Events. You can now record all API actions on S3 Objects and receive detailed information such as the AWS account of the caller, IAM user role of the caller, time of the API call, IP address of the API, and other details.

Upvotes: 2

Related Questions