s3:ListBucket Does not work with S3 Console other than root
- Views:
- 29
- Visibility:
- Public
- Votes:
- 0
- Category:
- storagegrid
- Specialty:
- sgrid
- Last Updated:
- 2/17/2025, 3:17:40 PM
Applies to
- NetApp StorageGRID
- S3 Console
Issue
The below aws cli works, but with S3 Console it only works with root.
{
"Statement": [
{
"Sid": "AllowListBucketOfASpecificUserPrefix",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::testaccess",
"Condition": {
"StringLike": {
"s3:prefix": "${aws:username}"
}
}
}
]
}