Skip to content

Instantly share code, notes, and snippets.

@balamurugana
Last active October 7, 2019 06:33
Show Gist options
  • Save balamurugana/d7dc6c68c5d8fe27d6524aee56da695b to your computer and use it in GitHub Desktop.
Save balamurugana/d7dc6c68c5d8fe27d6524aee56da695b to your computer and use it in GitHub Desktop.

Object Lock Support

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.

Difference with AWS S3

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment