Object Lock
Object Lock
EOS supports Object Locking, which enforces write-once-read-many (WORM) policies. Locked objects cannot be overwritten or deleted until their retention period expires. Object Lock supports two modes: Governance Lock and Legal Hold.
Object Lock can only be enabled at the time of bucket creation. It cannot be enabled on an existing bucket.
Enable Object Lock
When creating a bucket:
- Check the Enable Object Lock option on the bucket creation form.
- Once the bucket is created, navigate to the Object Lock tab.
- Set the desired retention period and select Governance as the lock mode.
- Save the configuration.
All objects uploaded to this bucket will automatically inherit the configured retention policy.
Governance Lock
When Governance Lock is active, every object uploaded inherits the configured retention period. The lock persists on individual objects even if you later disable Governance Lock at the bucket level.
To remove Governance Lock from a specific object version:
- Go to the Objects tab of the bucket.
- Click View all versions.
- Open the three-dot menu next to the version you want to modify.
- Select Lock Settings.
- Choose the option to remove the Governance Lock and save.
Legal Hold
Legal Hold is a stricter, indefinite lock. It cannot be removed by retention period expiry — it must be explicitly cleared.
To enable or disable Legal Hold on a specific object version:
- Go to the Objects tab.
- Click See all versions.
- Open the three-dot menu for the object version.
- Click Lock Settings.
- Toggle Enable Legal Hold on or off.
Deleting Buckets with Locked Objects
A bucket containing objects under Governance Lock or Legal Hold cannot be fully deleted until all locks are cleared.
Always verify object lock status before attempting to delete a bucket.