Get Bucket Policy
Returns the policy of the specified bucket. The user must be the bucket owner or to have been granted s3:GetBucketPolicy permission on the bucket.
GET /?policy HTTP/1.1
Host: {bucket}.{region}.cdn77-storage.com
Example Response in JSON format
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": ["arn:aws:iam:::user/cdn77-mypictures"]
},
"Action": "s3:GetObject",
"Resource": ["arn:aws:s3:::mypictures/*"]
}
]
}
Updated on 10th September, 2024