Amazon S3 access for other AWS accounts

Viewed 17855

I am trying to give access permission for S3 bucket in account to another account.

For the created bucket in permission tab there is an option of Access for other AWS accounts. Under that I am seeing an Add Account button. I clicked it and gave my other account from which I want to access this bucket.

However, I am getting an Invalid ID error.

3 Answers

You need the "canonical user id". You can find out about this here.

To view your canonical user ID as a root user (console)

Sign in as the root user using your AWS account email address and password.

... snip ...

In the top right of the console, choose your account name or number. Then choose My Security Credentials.

If necessary, in the dialog box, choose Continue to Security Credentials. You can choose the box next to Don’t show me this message again to stop the dialog box from appearing in the future.

Expand the Account Identifiers section to view your canonical user ID.

Note If you do not see the Account Identifiers section, then you are not signed in as the root user. Return to Step 1 above. If you do not have access to the root user credentials, contact your AWS account administrator and ask them to retrieve the canonical user ID.

Related