Adding an object lock policy

Content Platform for Cloud Scale S3 Console Guide

Version
2.4.x
Audience
anonymous
Part Number
MK-HCPCS009-04
Note: The object lock policy can only be enabled when a bucket is created.

Adding an object lock policy to a bucket provides you with the ability to add retention and legal hold to the objects contained within.

You can also enable compliance mode to set a retention period to all of the contents within a bucket by default. Additionally, when object lock is applied, legal hold can be set on a version of an object within the bucket. See Setting legal hold on a version of an object.

To create a bucket with an object lock policy:

  1. From the Buckets page, click + Create Bucket.
    The Create bucket page appears.
  2. In the Name field, enter a name for your bucket.
  3. Click the Object lock toggle to enable it.
  4. In the Access level section, select your required level of security.
    • Private: Only you have access to this bucket.
    • Authenticated: Lets you grant access to this bucket for any user with an account on the system.
    • Unauthenticated: Lets you grant public access to this bucket for anyone. You can choose to assign Read or Read/Write privileges.
  5. In the Bucket policies section, choose Object Lock.
  6. Click Configure on the Object Lock policy to set retention.
  7. Click the Default retention toggle to enable it and set the retention period.
  8. Click Done.
  9. When you are finished configuring your bucket, click Create.
    You are returned to the Buckets page and a message confirming the creation of the new bucket is displayed.
  10. To view your new bucket, select it by clicking its name from the Bucket name column.
    The bucket page is displayed and an overview of your bucket is provided.