Usage
key <command> [arguments]
Commands
get <name>- Print a secret or TOTP code.
copy <name>- Copy a secret or TOTP code.
add [--totp] <name>- Add a secret from stdin or prompt.
edit [--totp] <name>- Update a secret from stdin or prompt.
duplicate <src> <dst> [--force]- Duplicate an entry.
rename <src> <dst> [--force]- Rename an entry.
remove <name> [--force]- Remove an entry.
list- List stored secrets.
unlock- Unlock the vault.
lock- Lock the vault.
config get <config-name>- Print a config setting.
config set <config-name> <value>- Update a config setting.
config list- List config settings.
version [--json]- Print the CLI version.
help- Show this help.
Options
--force- Skip overwrite or removal confirmation.
--json- Print version info as JSON.
--totp- Treat add/edit input as a Base32 TOTP seed.
Config names
vault-dir- Effective vault directory.