header image

Code Snippets

AWS S3 Open CORS Policy

| Last updated:
[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "POST",
            "PUT",
            "DELETE",
            "HEAD"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": []
    }
]

Basic open Cross-origin Resource Sharing (CORS) policy for AWS S3 bucket.

Add to the S3 bucket using AWS Console.