lemano secret
Store passwords and keys in Lemano’s encrypted store
Description
Store passwords and private keys in Lemano's store, encrypted with its key,
for target files to name as secret://NAME in spec.connector.password,
spec.connector.sudoPassword and spec.connector.credential.
A value is read from the terminal without echo, or from standard input with
--from-stdin; never from an argument or an environment variable. No command
prints a value back.
A name is one or more parts separated by '/', each of letters, digits, '.',
'-', '_' and '@', at most 256 characters; names are case-sensitive.Synopsis
lemano secretExamples
lemano secret set ssh/web-07-sudo
lemano secret list
lemano secret delete ssh/web-07-sudoFlags inherited from parent commands
| Flag | Type | Default | Description |
|---|---|---|---|
--log-level | string | warn | log level on standard error: debug, info, warn or error |
--no-color | never colour the text (colour is also off when $NO_COLOR is set, when $TERM is dumb and when the output is not a terminal; $FORCE_COLOR turns it on, over $NO_COLOR) | ||
--password-prompt | ask on the terminal for the login password of each target whose file names none | ||
--ssh-config | string | ssh configuration file that targets’ connection settings are read from, or none to read none (default $LEMANO_SSH_CONFIG, else the files ssh reads) | |
--store | string | path of the store (default $LEMANO_STORE, else $XDG_DATA_HOME/lemano/lemano.db) | |
--sudo-password-prompt | ask on the terminal for the sudo password of each target whose file names none |
Exit codes
See exit codes.
See also
- lemano: the parent command
- lemano secret delete: Remove a stored secret
- lemano secret list: List the stored secrets by name, never their values
- lemano secret set: Store a secret, replacing one of the same name