How to provide Data level Access to S3

+2 votes
I have a scenario where in after creating relevant Service based roles for all IAM users as to which services can be accessed , I now have to add additional security at Tag level or individual bucket level.

Eg - If "A" user has access to S3 and EMR and "B " user has access to S3 , Redshift and I have X, Y , Z Buckets in my account .

How do I have A only access to X , Y and B only access to Z bucket . In future If I add 100 more users , I need to create 100 more policies , any alternative way or how to address this.
Nov 11, 2019 in AWS by Bharat
• 170 points

2 answers to this question.

0 votes
Hello Bharat,

You can create a group policy and add all the IAMs you wish to give access (S3 buckets). Just give the group policy the access to the S3 buckets.

Next, if you have 10 or 100 other IAM roles requiring this access, all you'll have to do is add them to this group.
answered Nov 19, 2019 by Eric
+1 vote
You can create IAM groups and assign policy to it. In case u want to add more users you can select a group in which you want to add that user and the the group policy will automatically get assigned to the user
answered Nov 22, 2019 by Vijay
Hello Vijay! I hope you are doing good. Please register to Edureka Community and then answer to get more points and rewards.

Related Questions In AWS

0 votes
2 answers

How to access files in S3 bucket from R?

You can take a look at the ...READ MORE

answered Aug 10, 2018 in AWS by Deepthi
• 300 points
0 votes
1 answer
0 votes
1 answer

how to access AWS S3 from Lambda in VPC

With boto3, the S3 urls are virtual by default, ...READ MORE

answered Sep 28, 2018 in AWS by Priyaj
• 58,090 points
+1 vote
1 answer
0 votes
0 answers

How to get access to aws s3 calling the ListObjectsV2 operation in Python script ?

Hi Guys,I try to get data from ...READ MORE

Nov 25, 2021 in AWS by Yuriy
• 120 points
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket.….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 58,090 points
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,090 points
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,820 points
0 votes
2 answers
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP