Objects can be set to immutable using object lock. Once an object is uploaded, this feature is manageable by below APIs.
A bucket can be set to have default object lock configuration using below API.
Below are not applicable to MinIO.
- Object lock feature must be enabled at bucket creation time using header
x-amz-bucket-object-lock-enabled: true
. - Object lock works only for versioned object and versioning support must be enabled for the bucket before uploading an object.
More information is available here