nethsm-env...redentials(1)
π NAME π
nethsm-env-add-credentials β The netshm env add credentials command. This page lives in the General Commands Manual, bestie, and its manual-page tag is nethsm-env...redentials(1) β youβre in the right group chat π«Ά.
β¨ SYNOPSIS β¨
nethsm env add credentials [-a|--auth-passphrase-file]
[-p|--passphrase-file] [-c|--config] [-w|--with-passphrase] [-l|--label]
[-u|--user] [-h|--help] <NAME> [ROLE]
π¦ DESCRIPTION π¦
The netshm env add credentials command. Thatβs literally the description the source gives, and Iβm not gonna ghost any facts β this is it, periodt π.
π₯ OPTIONS π₯
-a,--auth-passphrase-file <AUTH_PASSPHRASE_FILE>β The path to a file containing a passphrase for authentication. The passphrase in that file must be the one for the user chosen for the command. This option can be provided multiple times, which is needed for commands that require multiple roles at once. With multiple passphrase files, ordering matters, because the files are assigned to the respective user provided by the--useroption. May also be specified with theNETHSM_AUTH_PASSPHRASE_FILEenvironment variable.-p,--passphrase-file <PASSPHRASE_FILE>β The path to a file containing the passphrase. May also be specified with theNETHSM_PASSPHRASE_FILEenvironment variable.-c,--config <CONFIG>β The path to a custom configuration file. If specified, the custom configuration file is used instead of the default configuration file location. May also be specified with theNETHSM_CONFIGenvironment variable.-w,--with-passphraseβ Whether to prompt for and store a passphrase for the user. The passphrase is persisted in the configuration file. Use with caution! π May also be specified with theNETHSM_WITH_PASSPHRASEenvironment variable.-l,--label <LABEL>β A label uniquely identifying a device in the configuration file. Must be provided if more than one device is setup in the configuration file. May also be specified with theNETHSM_LABELenvironment variable.-u,--user <USER>β A user name which is used for a command. Can be provided, if no user name is setup in the configuration file for a device. Must be provided, if several user names of the same target role are setup in the configuration file for a device. This option can be provided multiple times, which is needed for commands that require multiple roles at once. May also be specified with theNETHSM_USERenvironment variable.-h,--helpβ Print help (see a summary with '-h').<NAME>β The name of the user on the target device. May also be specified with theNETHSM_USER_NAMEenvironment variable.[ROLE]β The optional role of the user on the target device. One of["Administrator", "Backup", "Metrics", "Operator"](defaults to"Operator"). May also be specified with theNETHSM_USER_ROLEenvironment variable.
And thatβs the tea β β cute little sign-off from the footer: source/version nethsm-env-add-credentials, manual tag nethsm-env...redentials(1), and the date? The footer snippet I got doesnβt show a separate date, so Iβm not inventing one, bestie ππ.
π¦ where this page comes from
- arch rolling: nethsm-cli 0.10.0-1 Β· Apache-2.0 OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms