Vault
transit envelope header
The transit envelope header command retrieves the header on files or
streams encrypted with envelope encryption
Usage
$ vault transit envelope header [flags] <file_path_1> [<file_path_2> .. <file_path_N>]```
Command arguments
file_path (string : "")The path to a file to encrypt, or-to encrypt input from stdin. If encrypting from stdin, there must be only onefile_pathinput. Encrypted files will be output to the input filename with the suffix appended.
Example
Get the header as JSON from a file using envelope header:
$ vault transit header -format=json really-big-file.zip.vee