I am trying to write a permission for a user to just be able to access the objects in ONE specific bucket.
I currently have:
{
"Version": "2012-10-17",
"Statement":[{
"Effect": "Allow",
"Action": "s3:GetObject",
"Resource": ["arn:aws:s3:::test",
"arn:aws:s3:::test/*"]
}
]
}
but the user can still access ALL my other buckets. Note that my other buckets don't have policy... I don't think it should matter. I just want that user's IAM to be allowed to that specific bucket.