Amazon Web Services (AWS)

Simple Storage Solution (S3)

Granting access to a single S3 Bucket using Amazon IAM

Reference: http://mikeferrier.com/2011/10/27/granting-access-to-a-single-s3-bucket-using-amazon-iam/

Create the following policy for the IAM user to give access to the appropriate buckets

{
  "Statement": [
    {
      "Action": "s3:*",
      "Effect": "Allow",
      "Resource": [
        "arn:aws:s3:::4ormat-knowledge-base",
        "arn:aws:s3:::4ormat-knowledge-base/*"
      ]
    }
  ]
}

Create the following policy to list all buckets

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

 

Opinions about People, Process and Technology

Optimization WordPress Plugins & Solutions by W3 EDGE