To create a bucket policy, you define rules and conditions for accessing the objects in a bucket.

Prerequisites

Verify that you have the required set of rights to share a bucket. To create a bucket policy, you must be the owner of the bucket.

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. On the Permissions tab, click text in the bucket policy area.
  5. Enter the details of the policy and click Save.
    • You can use the policy editor to enter ID, effect, settings, and conditions for the policy.
    • You can use the JSON editor to enter the policy statements.
    • To create a Public Read or Public Read/Write policy, click the respective shortcut.