insit_mm
04/01/2025, 10:18 PMVapi Support Bot
04/01/2025, 10:20 PMKyle
04/02/2025, 12:57 PMinsit_mm
04/02/2025, 2:05 PMKyle
04/07/2025, 12:47 PMYOUR_BUCKET_NAME
with the name of your S3 bucket.
\`\`\`json
{
"Version": "2012-10-17",
"Statement": \[
{
"Sid": "AllowPublicReadAccess",
"Effect": "Allow",
"Principal": "\*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::YOUR_BUCKET_NAME/\*"
}
\]
}
\`\`\`
Here’s how to apply this policy:
1\. Open the Amazon S3 console.
2\. In the Bucket name list, choose the name of the bucket that you want to set the policy for.
3\. Choose the Permissions tab.
4\. In the Bucket policy section, choose Edit.
5\. Copy and paste the above policy into the Bucket policy editor, replacing YOUR_BUCKET_NAME
with the name of your bucket.
6\. Choose Save to apply the policy.
This policy allows anyone to read the objects in your bucket. If you need more restrictive access (e.g., only specific users or roles), you can adjust the Principal
field accordingly.
If you have any further questions or need additional assistance, feel free to ask!