доступ к устройствам Nitrokey (access Nitrokey devices)
Окружение (Environment)
The program honors two sets of environment variables, all
prefixed by "NITROCLI_".
Configuration
The first set controls basic configuration of the program. These
variables mirror the respective command line options and
configuration file settings. They are:
NITROCLI_MODEL
Restrict connections to the given device model (string,
default: not set, see --model
).
NITROCLI_SERIAL_NUMBERS
Restrict connections to the given list of serial numbers
(comma-separated list of strings, default: empty, see
--serial-number
).
NITROCLI_USB_PATH
Restrict connections to the given USB path (string,
default: not set, see --usb-path
).
NITROCLI_NO_CACHE
If set to true, do not cache any inquired secrets
(boolean, default: false, see --no-cache
).
NITROCLI_VERBOSITY
Set the log level (integer, default: 0, see --verbose
).
Password & PIN entry
The second set can be used to provide password & PIN data to the
program to suppress interactive entry through pinentry
(1) for
operations that otherwise would ask for it. The following
variables are recognized:
NITROCLI_ADMIN_PIN
The admin PIN to use.
NITROCLI_USER_PIN
The user PIN to use.
NITROCLI_NEW_ADMIN_PIN
The new admin PIN to set. This variable is only used by
the pin set
command for the admin
type.
NITROCLI_NEW_USER_PIN
The new user PIN to set. This variable is only used by the
pin set
command for the user
type.
NITROCLI_PASSWORD
A password used by commands that require one (e.g., hidden
open
).