NAME
heimlich —
secrets manager
SYNOPSIS
heimlich |
[-aR] [-c
column] [-f
path] pattern |
DESCRIPTION
The heimlich utility retrieves secrets
which are are stored in an encrypted file, see
heimlich(5). A secret is retrieved and written to stdout by
decrypting the file located at path using the entered
passphrase and selecting column on the first line that
matches pattern.
The options are as follows:
-a- Output all columns.
-R- By default, the passphrase is asked for again in case the previous one is
wrong. This option sets the maximum number of attempts to one, causing
heimlichto exit non-zero if the wrong passphrase is supplied. -ccolumn- Specify the column to select from the line matching pattern. By default, the third column is selected.
-fpath- Path to encrypted file containing secrets.
- pattern
- Pattern expressed as a basic regular expression used to find the matching line, see re_format(7).
FILES
- ~/.heimlich/$USER.enc
- The default encrypted file containing secrets.
DIAGNOSTICS
The heimlich utility exits 0 on
success, and >0 if an error occurs.
SEE ALSO
AUTHORS
Anton Lindqvist <anton@basename.se>