Skip to content

@mmcgrana /bucket-iam.md secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Navigate in the AWS console to the IAM credentials panel.

Create a IAM user with the desired bucket name.

Capture the generated credentials.

Attach a user policy of the following form named <bucket>-bucket-access:

{
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
        "arn:aws:s3:::<bucket>",
        "arn:aws:s3:::<bucket>/*"
      ]
    }
  ]
}

Create that bucket with your account-level credentials:

$ s3 create <bucket>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.