With the object lock feature, you prevent objects from being deleted from a bucket. You activate the feature at the bucket level during the bucket creation, but can edit the object lock configuration at the object level.

Prerequisites

  • Verify that you have the required set of rights to edit the object lock configuration.
    • If you are an organization administrator, you can edit the objects lock configuration for objects that users in your organization own.
    • If you are an organization user, you can edit the objects lock configuration for objects, if you are the owner of the bucket that stores the object.
  • Verify that the object lock feature is active for the bucket that stores the object that you want to edit. If the feature is not activated during the creation of the bucket that stores the object, you cannot edit the object lock configuration for the object.
  • The object lock feature is supported for Dell ECS 3.6. If you are using 3.4 or earlier, you can not use the object lock feature.

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, navigate to the bucket or folder that stores the object that you want to edit.
  4. Click the name of the object that you want to edit.
  5. On the Properties tab, click Edit in the Object Lock card.
  6. Select the retention mode and enter the retention period.
    Option Description
    Governance Mode A user with specific permissions can preview the retention policy.
    Compliance Mode The retention policy is not displayed to any user.
    No Retention Does not require the selection of a retention period. If you select this option, you can define the retention period later.
  7. Select the check box to activate legal hold and click Save.
    Legal hold prevents the object from being deleted after the retention period expires.