Answer the question
In order to leave comments, you need to log in
How do I set up access to a single directory inside an Amazon S3 bucket?
I have an Amazon S3 account with multiple buckets. There are several directories in one bucket. The task is to set up access for the user to only one specific directory in a specific bucket with the ability to read / write.
I tried this one, but it doesn't work:
{
"Statement": [
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "arn:aws:s3:::*"
},
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::bucketname/catalog",
"arn:aws:s3:::bucketname/catalog/*"
]
}
]
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question