ecfg-decrypt
- decrypt an ecfg file
ecfg decrypt
[-t
|--type
filetype] [file]
ecfg decrypt
decrypts the given file; that is, decrypts all the encrypted
keys within it, printing the full decrypted file to stdout. The key mentioned
in the ecfg(5) file must be present in the keydir unless ECFG_PRIVATE_KEY
is
present in the environment. See ecfg(1) for more on key lookup semantics.
If no filename is given, data will instead be read from stdin
.
-t
, --type
="json|yaml|toml" Specify the filetype. Required when passing data from stdin
and when
file does not end in ".ecfg.json", ".ecfg.yaml", or ".ecfg.toml".
ecfg(1), ecfg-encrypt(1), ecfg-keygen(1), ecfg(5)