Skip to content

derivepassphrase-export-vault(1)

NAME

derivepassphrase-export-vault – export a vault-native configuration to standard output

SYNOPSIS

derivepassphrase export vault [OPTIONS] PATH

DESCRIPTION

Read the vault-native configuration at PATH, extract all information from it, and export the resulting configuration to standard output. Depending on the configuration format, this may either be a file or a directory. Supports the vault “v0.2”, “v0.3” and “storeroom” formats.

If PATH is explicitly given as VAULT_PATH, then use the VAULT_PATH environment variable to determine the correct path. (Use ./VAULT_PATH or similar to indicate a file/directory actually named VAULT_PATH.)

OPTIONS

-f, --format FMT
try the following storage formats, in order (default: v0.3, v0.2)
-k, --key K
use K as the storage master key (default: check the VAULT_KEY, LOGNAME, USER or USERNAME environment variables)
-h, --help
Show this message and exit.

ENVIRONMENT VARIABLES

VAULT_PATH
A default path, relative to the home directory, where to look for the configuration to load.
VAULT_KEY
A password with which the vault configuration is encrypted. The password is interpreted as a UTF-8 byte string.
LOGNAME, USER, USERNAME
Fallback values for VAULT_KEY.

SEE ALSO

derivepassphrase(1), vault(1)