Amazon IAM user creation for single S3 bucket access

Login to AWS Management Console and from there select IAM:


From the IAM Console, click on the “Create new users” button in the toolbar, enter the name of the new user(You can give it any name like I gave it mymysqlbktos3) and then click “Create” button on the bottom of that form:


It will present you with the message “Your 1 User(s) has been created successfully“, Click “Download Credentials” button on the bottom to download the Security Credentials for that user, after that close the message box :


Select the new user and switch to the “Permissions” tab on the bottom, then click “Attach User Policy” button on that tab:


Select the “Custom Policy” and press “Select“:


Enter the Policy Name (Whatever you want, like I have entered the mysqlbktos3-policy) and Paste the following text as the Policy Document (Please change the Bucket Name, on which you want to give access to the following user, in my case the bucket name is mymysqlbk) and click “Apply Policy“:

 "Version": "2012-10-17",
 "Statement": [
 "Effect": "Allow",
 "Action": "s3:ListAllMyBuckets",
 "Resource": "arn:aws:s3:::*"
 "Effect": "Allow",
 "Action": [
 "Resource": [ "arn:aws:s3:::mymysqlbk"]
 "Effect": "Allow",
 "Action": [ 
 "Resource": [ "arn:aws:s3:::mymysqlbk/*"]


Hope this will help you!

Please Remember me in your prayers!

Enjoy :-)

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: