Bucket CORS

Cross-origin Resource Sharing (CORS), is a feature of Stratus that you can use to whitelist certain domains that require access to the objects stored in your bucket.

You can authorize applications you have hosted using Catalyst AppSail, or even applications you have hosted on third-party platforms to access objects stored in Stratus.

catalyst_stratus_cors_add_domain_button

You can authorize and whitelist the required domains directly in the console and approve the domains to access objects from your buckets. This operation can be performed in the development environment and your configurations can be migrated to the production environment.

Whitelist Domains Using Bucket CORS

To authorize a domain for CORS:

Click on the required bucket. catalyst_stratus_bucket_names_first

  1. Click the Configurations tab.

    catalyst_stratus_configurations_list
  2. Expand the Bucket CORS section and click Add Domain.

    catalyst_stratus_cors_add_domain_button
  3. Enter the complete URL of the domain you need to enable CORS for, with the required Request Method (GET, POST, PUT, DELETE, or HEAD).

    catalyst_stratus_cors_adding_domain
  4. Click Add to whitelist the required domains.

    catalyst_stratus_cors_added_domains

The required domain will be whitelisted and CORS will be enabled for the required domain.

catalyst_stratus_cors_domain_enabled_cors
Note: CORS of a bucket can be edited by any user that has or has been granted Write permission for Stratus component in the project, using the Profiles & Permissions section.

Edit Bucket CORS

To edit bucket CORS:

  1. Click the ellipsis icon next to the domain and click Edit.

    catalyst_stratus_cors_domain_edit_button
  2. Make the required changes and click Update.

    catalyst_stratus_cors_update_edits

The changes will be applied.

catalyst_stratus_cors_updated_changed

Delete Bucket CORS

To disable or remove a domain from the whitelist:

  1. Click the ellipsis icon next to the domain and click Delete.

    catalyst_stratus_delete_cors_button
  2. Click Confirm to delete the domain.

    catalyst_stratus_cors_del_confirm

The domain will be deleted, and will no longer be whitelisted.

Last Updated 2025-06-03 18:19:55 +0530 +0530