Vault
transit envelope header
The transit envelope header command retrieves the header on files or
streams encrypted with envelope encryption
$ vault transit envelope header [flags] <file_path_1> [<file_path_2> .. <file_path_N>]
Command arguments
file_path(string : "") The path to an encrypted file or-for stdin. You cannot use a second file path when reading fromstdin.
Example
Get the header as JSON from a file using envelope header:
$ vault transit header -format=json really-big-file.zip.vee