How to Share an Amazon S3 Bucket with another AWS Account. Grant access to Amazon S3 Bucket.
CS Browser
Free Windows client for Amazon S3 and Amazon S3 compatible storage services
 
Follow

Granting access to your bucket to another AWS account

Overview

Sometimes you may need to give another AWS account access to your Amazon S3 bucket. This allows users or applications in that account to work with the files in your bucket without sharing your account credentials.

There are two main ways to grant access to an Amazon S3 bucket:

  • Bucket policies define which AWS accounts can access the bucket and which actions they are allowed to perform.
  • Access Control Lists (ACLs) grant a set of permissions directly to another AWS account.

The following sections explain how to configure both methods in CS Browser.

Bucket Sharing using Bucket Policies

Requirements

You need the 12-digit AWS Account ID of the account with which you want to share the bucket. The grantee can copy it from the Account page in the AWS Management Console.

To share your bucket via Bucket Policies

  1. Start CS Browser and select the bucket you want to share.

  2. Click Buckets > Edit Bucket Policy..

    Edit Bucket Policy command in the Buckets menu
    Open the Bucket Policy Editor from the Buckets menu.

    The Bucket Policy Editor dialog will open:

    Amazon S3 Bucket Policy Editor
    Use the Bucket Policy Editor to view or edit the policy for the selected bucket.
  3. Paste the following Bucket Policy to allow list bucket, upload and download files:

    {
      "Id": "MyPolicy",
      "Statement": [
        {
          "Sid": "AllowBucketList",
          "Action": [
            "s3:ListBucket"
          ],
          "Effect": "Allow",
          "Resource": "arn:aws:s3:::s3browser",
          "Principal": {
            "AWS": [
              "1234-5678-9012"
            ]
          }
        },
        {
          "Sid": "AlowUploadDownload",
          "Action": [
            "s3:GetObject",
            "s3:PutObject"
          ],
          "Effect": "Allow",
          "Resource": "arn:aws:s3:::s3browser/*",
          "Principal": {
            "AWS": [
              "1234-5678-9012"
            ]
          }
        }
      ]
    }

    Replace s3browser with your actual bucket name and 1234-5678-9012 with the actual grantee's AWS Account ID.

    If you would like to grant other permissions, please check AWS Policy Generator to create bucket policy you need.

  4. Click Apply to save changes and close the dialog.

    Please check out these instructions to learn how the grantee can connect to the bucket you shared with them.

Bucket Sharing using Access Control List (ACL)

Requirements

You can identify the grantee by the email address associated with their AWS account. Use the address they use to sign in to the AWS Management Console. If the same email address is associated with more than one AWS account, use the account Owner ID instead.

The Owner ID is not the same as the AWS Account ID. The grantee can copy the Owner value from the bucket Properties tab in CS Browser:

Copy the Amazon S3 account Owner ID from bucket properties
Copy the Owner value from the bucket Properties tab.

To share the bucket via Access Control List (ACL)

  1. Select the bucket you want to share and click Buckets > Edit Permissions (ACL)..

    Edit Permissions ACL command in the Buckets menu
    Open the Permissions tab from the Buckets menu.

    The Permissions tab will open:

    Add user by Email or ID from the Amazon S3 bucket Permissions tab
    Click More.. and choose Add user by Email/ID.
  2. Click More.. > Add user by Email/ID.

    The Add user by Email/ID dialog will open:

    Enter an AWS account email address or Owner ID
    Enter or paste the grantee's account email address or Owner ID.
  3. Enter or paste the grantee's account email address or Owner ID.

  4. Check the permissions you want to grant and click Apply changes.

    Grant permissions to another AWS account
    Select the required permissions and apply the changes.

    Important note: if you plan to allow file upload (the Write permission) we recommend to grant the Read Permissions too AND uploader (the grantee) should also enable permissions inheritance in Tools > Options > General. This is important if you need access to the files uploaded by another account.

    Please check out these instructions to learn how the grantee can connect to the bucket you shared with them.

Related materials

CS Browser 13.5.7 Freeware
Powered by Amazon Web Services and Rated by CNET Editors!
Social Connection
 
People like CS Browser!
People like us
Our customers say

"CS Browser is an invaluable tool to me as a web developer to easily manage my automated site backups" -Bob Kraft, Web Developer

"Just want to show my appreciation for a wonderful product. I use CS Browser a lot, it is a great tool." -Gideon Kuijten, Pro User

"Thank You Thank You Thank You for this tool. A must have for anyone using Amazon S3!" -Brian Cummiskey, USA

Related Products
RdpGuard
protects your Windows Server from RDP Brute-force Attacks.
CS Browser is developed by Netsdk Software FZE and is not affiliated with, endorsed by, or sponsored by Amazon or AWS. Amazon S3 and Amazon S3 Glacier are trademarks of Amazon.com, Inc. or its affiliates.
Copyright © 2008-2026 Netsdk Software FZE. All rights reserved.  Terms of Use.  Privacy Policy.  Mount Amazon S3 Bucket.  RDP brute-force protection.