mc retention

Description

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:

Subcommand Description
clear Clears object retention settings for a bucket or object.
info Display the retention settings for a bucket or object.
set Set or update the retention settings for a bucket or object.