Configuring Storage Browser for S3
To allow Storage Browser for S3 access to S3 buckets, the Storage Browser component makes the REST API calls to Amazon S3. By default, cross-origin resource sharing (CORS) isn’t enabled on S3 buckets. As a result, you must enable CORS for each S3 bucket that Storage Browser is accessing data from.
For example, to enable CORS on your S3 bucket, you can update your CORS policy like this:
[ { "ID": "S3CORSRuleId1", "AllowedHeaders": [ "*" ], "AllowedMethods": [ "GET", "HEAD", "PUT", "POST", "DELETE" ], "AllowedOrigins": [ "*" ], "ExposeHeaders": [ "last-modified", "content-type", "content-length", "etag", "x-amz-version-id", "x-amz-request-id", "x-amz-id-2", "x-amz-cf-id", "x-amz-storage-class", "date", "access-control-expose-headers" ], "MaxAgeSeconds": 3000 } ]