Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (5.6k points)

I have created an IAM user and one S3 bucket, Nad now I would like to give this user ability to access this S3 bucket using CyberDuck. 

How can I give this access to a single S3 bucket?

1 Answer

0 votes
by (12.4k points)
edited by

First of all, create a Policy that allows access to a single S3 bucket that you have, and will look like this:

{

  "Version": "2012-10-17",

  "Statement": [

    {

      "Sid": "Stmt1528735049406",

      "Action": [

        "s3:DeleteObject",

        "s3:GetObject",

        "s3:HeadBucket",

        "s3:ListBucket",

        "s3:ListObjects",

        "s3:PutObject"

      ],

      "Effect": "Allow",

      "Resource": "arn:aws:s3:::YOURBUCKETNAME"

    }

  ]

}

 Save the policy you created just now and then switch to "IAM user" and select the user you want. Click on "Add permission" and then select "Attach existing policies directly", look for your policy and select that.

Looking forward to master AWS? Come & join AWS Certification offered by Intellipaat.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

Browse Categories

...