Object Lock

Object Lock is a feature that enables you to apply WORM protection to objects, preventing them from being deleted or modified for a specified duration. It provides robust, programmable safeguards for storing critical data that must remain immutable.

Warning: Once a bucket is created without an object lock, you cannot add it later.

Use cases

  • Data Preservation: Protects critical data from accidental or malicious alteration and deletion, ensuring integrity and consistency.

  • Regulatory Compliance: Aligns with European regulations such as GDPR, Markets in Financial Instruments Directive (MiFID) II, and the Electronic ID and Trust Services (eIDAS) regulation, maintaining records in an unalterable state.

  • Legal Holds and Audits: Facilitates legal holds and audits, meeting requirements for transparency and accountability.

Modes

Object lock can be applied in two different modes:

  • Governance: Allows specific users with special permissions to override the lock settings. Ideal for flexible control.

  • Compliance: Enforces a strict lock without any possibility of an override. Suited for regulatory and legal mandates.

These two lock modes require configuring the duration for which the object will remain locked. The period can range from days to years, depending on the object's compliance needs.

The Retention period refers to the duration for which the objects stored in a particular Object Storage bucket are protected from deletion or modification. You can set the retention period to a maximum of 365 days. To set a longer retention period, use the API.

The retention configuration can be modified or removed for the objects under Governance mode by including a specific header variable in the API request. However, for objects in Compliance mode, reducing the retention period or removing the retention configuration is not possible.

Note: Under Object Lock or Object Hold, permanent deletion of an object's version is not permissible. Instead, a deletion marker is generated for the object, causing IONOS S3 Object Storage to consider that the object has been deleted.

However, the delete markers on the objects are not subject to protection from deletion, irrespective of any retention period or legal hold on the underlying object. Deleting the delete markers restores the previous version of the objects.

An additional setting called Legal Hold can place a hold on an object, enforceable without specifying a retention period. It could be applied both to objects with or without Object Lock. The Legal Hold will continue to be applied till manual removal even if the object’s retention period for Governance or compliance mode is over.

Manage Object Lock

Note: Object Lock configuration can only be enabled during the initial creation of a bucket and cannot be applied to an existing bucket.

When a bucket is created with Object Lock enabled, you can set up Object Lock configurations. These configurations determine the default mode and retention period for newly uploaded objects. Alternatively, Object Lock settings can be explicitly defined for each object during its creation, overriding the bucket's default settings.

Web console

Prerequisite: Ensure you create a new bucket to enable Object Lock.

1. In the DCD, go to Menu > Storage > IONOS S3 Object Storage.

2. Create a bucket with Object Lock enabled.

3. From the Buckets list, choose the bucket for which the Object Lock is enabled and click Bucket settings.

4. Click Object Lock to manage these settings on the bucket.

5. Modify the Object Lock mode applied on the bucket and the Retention period as needed.

6. Click SAVE.

Note: The modified Object Lock settings apply to the newly uploaded objects to the bucket. The existing objects adhere to the Object Lock settings applied during the bucket creation.

Result: The Object Lock settings are successfully updated and applied to the bucket.

IONOS S3 Object Storage API

Use the Object Lock API to manage the Object Lock configuration on the specified buckets.

CLI tool

Use the CLI to manage Object Lock.

Limitations

The following are a few limitations to consider while using Object Lock:

  • Versioning will be automatically enabled in addition to Object Lock.

  • Once the Object Lock is enabled during bucket creation, both Object Lock and Versioning cannot be disabled afterward.

  • When you place or modify an Object Lock, updating the object version's metadata does not overwrite the object version or change its Last-Modified timestamp.

  • A bucket with Object Lock enabled cannot be chosen as a source for replication or tiering, but it could be a destination for replication or tiering.

  • In the Compliance mode, an object is immutable until its retention date has passed. It is not possible to disable this mode for the object or shorten the retention period. This setting could not be changed either by the bucket owner or IONOS.

Last updated