Yandex Object Storage supports cross-domain requests to bucket objects.

You can set up a CORS configuration for each bucket via:

Example of uploading a CORS configuration via the AWS CLI

Put the CORS configuration in the cors.json file:

    "CORSRules": [
            "AllowedHeaders": ["*"],
            "AllowedMethods": ["GET", "HEAD", "PUT", "DELETE"],
            "MaxAgeSeconds": 3000,
            "AllowedOrigins": ["*"]

Upload cors.json to a bucket named shared-bucket:

aws s3api put-bucket-cors --bucket shared-bucket --cors-configuration file://cors.json \