vault¶
Manage the encrypted secret vault.
Usage¶
Subcommands¶
vault status¶
Show vault status: number of secrets, key age, vault file location.
vault rotate-key¶
Rotate the Fernet encryption key. Old key is backed up to .key.bak.
This re-encrypts all secrets with the new key.
How It Works¶
- Secrets are stored in
~/.config/dot-man/vault.json - Encrypted with Fernet (AES-128-CBC + HMAC)
- Key stored at
~/.config/dot-man/.key - Old key backed up during rotation at
.key.bak