Web: https://www.reddit.com/r/aws/comments/s0o8g4/how_to_list_only_one_s3_bucket/

Jan. 10, 2022, 4:40 p.m. | /u/brianesteban

Amazon Web Services (AWS): S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, Route 53, VPC and more reddit.com

Hello community! I am looking for a solution to list only one bucket. I was reading and I found that there are some who say that it is not possible because this policy "s3: ListAllMyBuckets" is enabled but if I remove it I simply cannot enter the bucket. I tried with this and neither. Has anyone already done it?

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

"Statement": [

{

"Effect": "Allow",

"Action": [

"s3:GetBucketLocation"

],

"Resource": "*"

},

{

"Effect": "Allow",

"Action": [

"s3:ListBucket"

],

"Resource": [

"arn:aws:s3:::mybucket"

]

},

{

"Effect": "Allow",

"Action": [ …

aws one s3

DevOps Software Engineer

@ Sinch | Malmö, Skåne County, Sweden

Senior Staff Engineer, Cloud Systems

@ Life360 | Remote, USA

Junior DevOps Engineer

@ SmartBear | Wrocław, Lower Silesian Voivodeship, Poland

Senior DevOps Engineer - Data Engineering

@ Life360 | Ukraine

DevOps Engineer , Team Lead ( Remote )

@ AssistRx | Remote - Orlando, Florida, United States

Senior DevSecOps

@ Prodigy Education | Oakville, Ontario