Grant IAM User permissions to an S3 Bucket

Need to grant quick access to an S3 bucket to a specific IAM user so did the following:

Add S3 Bucket: GvoBucket
Add IAM User: GvoUser

Attached the following custom policy to GvoUser:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:ListAllMyBuckets",
      "Resource": "arn:aws:s3:::*"
    },
{
      "Action": [
        "s3:*"
      ],
      "Sid": "Stmt1375296690000",
      "Resource": [
        "arn:aws:s3:::GvoBucket",
        "arn:aws:s3:::GvoBucket/*"
      ],
      "Effect": "Allow"
    }
  ]
}

Quick snapshots – nothing special.

Added GvoUser

GvoBucket access policy

Leave a Reply

Your email address will not be published. Required fields are marked *