I have created a simple policy to access a specific bucket for a authenticated(access key/password )user. Following is policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::xxxxxxx/*"
]
}
]
}
But user cannot able to access it. if i replace Resource with "arn:aws:s3:::*", it works but show all buckets to attached user.