Within a cross-origin resource sharing (CORS) rule, you define the allowed request origins, methods, headers, the maximum age of the request, and the exposed headers.

Prerequisites

Verify that you have the required set of rights to create CORS rules for a bucket.
  • If you are an organization administrator, you can create CORS rules for the buckets that users in your organization own.
  • If you are an organization user, you can create CORS rules for the buckets that you own.

Procedure

  1. Log in to the VMware Cloud Director tenant portal.
  2. From the More drop-down menu, select Object Storage.
  3. In the Buckets pane, click the name of the bucket that you want to edit.
  4. Click Properties.
  5. In the Cross-Origin Resource Sharing section, click the text.
  6. Enter the details of the rule.
    1. Enter an ID for the rule or select the Auto Generate check box.
    2. Enter the allowed request origins or select the All Origins check box.
    3. Select the allowed request methods.
    4. (Optional) Enter the allowed request headers.
    5. (Optional) Enter the exposed headers.
    6. (Optional) Enter the maximum age allowed for requests.
  7. Save the current rule or add another rule.
    • To save the rule, click Save.
    • To add another rule, click Add Rule and complete step Step 6.