Creating a bucket with object lock

Content Platform for Cloud Scale S3 Console Guide

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

When applying object lock to a bucket, you can then enable compliance mode to set a retention period to its contents. Additionally, when object lock is applied, legal hold can be set on a version of an object. See Setting legal hold on a version of an object.

To create a bucket with object lock:

  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 Update.
  9. When you are finished configuring your bucket, click Update.
  10. To view your new bucket, select it by clicking its name from the Bucket name column.
    A confirmation message appears to let you know the bucket was created successfully. The bucket page is then displayed and an overview of your bucket is provided.