Note: Retention can only be set on a version of an object when an object lock policy has been applied to a bucket. See
Adding an object lock policy.
To set legal hold on a version of an object within a bucket:
- From the Buckets page, click the name of the bucket in which the object resides.
- Navigate to the object you want to view and then click its more icon.
- Select View versions.
All versions of the selected object are displayed.
- Click the more icon at the righthand side of the object you want to add retention to.
- To set retention on an object, click Set Retention.
- In the Date and Time fields, set your values for your object's retention length.
- Click Save.
Retention is set on that version of the object.