Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: implement retention command #1

Open
@overtrue

Description

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

  • rc retention set - Set retention policy on object
  • rc retention get - Get retention policy of object
  • rc retention remove - Remove retention policy (Governance mode only)
  • Return EXIT_UNSUPPORTED_FEATURE (7) when Object Lock is not supported
  • Support --force flag to bypass capability detection

Notes

This is a capability-dependent feature. Not all S3-compatible storage providers support Object Lock.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /