Browse documentation
Command reference

gitvaulty group

Manage repository-scoped access groups.

View source ↗

Manage repository-scoped access groups.

Usage

npx gitvaulty group <command>

Commands

CommandPurpose
group createCreate a group managed by its creator.
group addAdd a registered user through a signed manager revision.
group removeRemove a non-manager member and re-encrypt affected files.
group managerPromote or demote group managers.
group listList groups, managers, and members.
group deleteDelete a non-default group that no files use.

Groups are the primary way to assign file access. A file refers to group names in .gitvaulty/recipients.json; its effective age recipients are resolved from the current members of those groups plus any direct user grants.

Every manager is also a member. Only a manager from the preceding signed policy revision can authorize the next membership or manager revision. Adding or removing members can therefore change access to several encrypted files at once. When the effective recipient set changes, GitVaulty re-encrypts those files and regenerates .sops.yaml transactionally.

The signed revision chain detects tampering after its accepted first revision. Keep .gitvaulty/recipients.json protected by branch review so an attacker cannot replace the complete history with another genesis policy.

Group names follow the same format as usernames: lowercase letters, numbers, ., _, or -, with a maximum length of 64 characters.