Skip to content

lo secrets remove-key — the inverse of add-key is missing #137

Description

@fentas

Follow-up from the 2026-08-21 revalidation of #73 (now closed: add-key is fully implemented).

lo secrets add-key adds an age recipient to every .sops.yaml creation rule and re-keys the store. There is no remove-key — so revoking a departed teammate's recipient means hand-editing .sops.yaml across every domain and re-encrypting, with no orphan check.

Scope: mirror add-key's semantics in reverse — drop the recipient from all creation rules, re-key the store, refuse (or warn) if removing it would orphan a file that no remaining recipient can decrypt. --all for cross-domain, same as add-key.

Not urgent, but it is the half of key management that matters during offboarding.

🤖 Generated with Claude Code

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions