Description
Implement the retention command for managing S3 Object Lock retention policies.
Requirements
- Support Object Lock retention modes (Governance/Compliance)
- Ability to set/get/remove retention on objects
- Requires S3 Object Lock feature support from the storage provider
Acceptance Criteria
Notes
This is a capability-dependent feature. Not all S3-compatible storage providers support Object Lock.
Description
Implement the
retentioncommand for managing S3 Object Lock retention policies.Requirements
Acceptance Criteria
rc retention set- Set retention policy on objectrc retention get- Get retention policy of objectrc retention remove- Remove retention policy (Governance mode only)EXIT_UNSUPPORTED_FEATURE (7)when Object Lock is not supported--forceflag to bypass capability detectionNotes
This is a capability-dependent feature. Not all S3-compatible storage providers support Object Lock.