How to enable and test Compliance on a bucket (Immutability)?
- 14 Dec 2023
- 1 Minute to read
- Print
- PDF
How to enable and test Compliance on a bucket (Immutability)?
- Updated on 14 Dec 2023
- 1 Minute to read
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The use of the Compliance settings on a bucket (a feature used to achieve bucket immutability or WORM-style storage) allow you to make sure that no files are modified or deleted ahead of a certain time.
Enable Compliance mode on the bucket by going to 'Bucket Settings > Compliance'. Note for this example, I have set the retention time to be only (1) day. You may set this value to be in days/weeks/months/years, but you cannot set in hours.

Next, copy your files up to that bucket.
.png)
If you attempt to delete a file within the bucket you will receive the following error until after the (1) day retention period is up:
.png)