.Dd 2025-01-11
.Dt DERIVEPASSPHRASE-EXPORT-VAULT 1
.Os derivepassphrase 0.4.0
.
.Sh NAME
.
.Nm derivepassphrase-export-vault
.Nd export a vault-native configuration to standard output
.
.Sh SYNOPSIS
.
.Bd -ragged
.Nm derivepassphrase export vault
.Op Fl f Ar FMT
.Op Fl k Ar K
.Ar PATH
.Ed
.
.Sh DESCRIPTION
.
Read the
.Xr vault 1 Ns -native
configuration at
.Ar PATH ,
extract all information from it, and export the resulting configuration to
standard output (as if using
.Xr vault 1 Ns 's
.Fl \-export
option).
Depending on the configuration format, this may either be a file or a
directory.
Supports the
.Xr vault 1
.Li v0.2 ,
.Li v0.3
and
.Li storeroom
formats, all of which inherently use encryption and integrity protection.
.Pp
.
If
.Ar PATH
is explicitly listed as
.Li VAULT_PATH ,
then use the
.Ev VAULT_PATH
environment variable to determine the correct path.
.Po
Use
.Pa ./VAULT_PATH
or similar to indicate a file/directory actually named