mc retention

The mc retention command configures the Write-Once Read-Many (WORM) locking settings for an object or object(s) in a bucket. You can also set the default object lock settings for a bucket, where all objects without explicit object lock settings inherit the bucket default.

Subcommands

mc retention includes the following subcommands:

SubcommandDescription
clearClears object retention settings for a bucket or object.
infoDisplay the retention settings for a bucket or object.
setSet or update the retention settings for a bucket or object.

On this page