Dieser Inhalt ist in der ausgewählten Sprache nicht verfügbar
Wir arbeiten ständig daran, Inhalte in der ausgewählten Sprache bereitzustellen. Vielen Dank für deine Geduld.
How can I grant a user in another AWS account the access to upload objects to my Amazon S3 bucket?
Lesedauer: 2 Minute
0
I want to grant an AWS Identity and Access Management (IAM) user in another account access to my Amazon Simple Storage Service (Amazon S3) bucket. Also, I want to grant cross-account access so that the user can upload objects to my Amazon S3 bucket.
Resolution
To grant an IAM user from Account A access to upload objects to an S3 bucket in Account B, follow these steps:
From Account A, attach a policy to the IAM user. The policy must allow the user to run the s3:PutObject and s3:PutObjectAcl actions on the bucket in Account B:
Note: Before you specify an object access control list (ACL) for the upload, you must have the s3:PutObjectAcl permission. Otherwise, you get an Access Denied error when you upload an object with an ACL, such as the bucket-owner-full control ACL.