Browse documentation
Command reference

gitvaulty key public

Print both public keys derived from your private master identity.

View source ↗

Print both public keys derived from your private master identity.

Usage

npx gitvaulty key public

The output is safe to share:

Age recipient: age1example...
Signing key: ed25519:example...

The age recipient allows others to encrypt files for you. The Ed25519 key lets repositories verify policy signatures made while you were a manager. Neither public key can decrypt, sign, or reveal the master identity.

When joining an existing GitVaulty repository, prefer gitvaulty user register. It derives the same public identity and adds it to the repository with no access so a group manager can review and approve a group grant.

If no identity is available interactively, GitVaulty offers to restore an existing backup through masked input, create a new key, or cancel. Identity environment variables and configured key files are supported as described in gitvaulty key.

This command does not require an initialized Git repository and does not modify repository files.