Learn to retrieve bucket policies in Telnyx Cloud Storage with a straightforward AWS S3 API command example.
user@host % aws s3api get-bucket-policy --bucket pubreadbuc
{
"Policy": "{\n
\"Version\": \"2012-10-17\",\n
\"Statement\": [\n
{\n
\"Sid\": \"PublicReadGetObject\",\n
\"Effect\": \"Allow\",\n
\"Principal\": \"*\",\n
\"Action\": \"s3:GetObject\",\n
\"Resource\": \"arn:aws:s3:::pubreadbuc *\"\n
}\n
]\n
}\n
\n"
}
Was this page helpful?