Skip to content

feature: Support CORS config #46

@pvbouwel

Description

@pvbouwel

S3 buckets can have a CORS configuration as per https://docs.aws.amazon.com/AmazonS3/latest/userguide/cors.html

This configuration is set at bucket level and should be respected when accessing S3 resources. This should be the case for static hosting but also for requests like pre-signed URIs.

At this time there is only a very basic implementation for CORS. The hooks that have been put in place should however allow for a "real" implementation where the proxy fetches the CORS config. This would however likely require caching to be efficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions