nethsm-key-generate(1)
π NAME π
nethsm-key-generate(1) β literally the nethsm key generate command, bestie. Itβs from the General Commands Manual, and the (1) is right there in the name. β¨
β¨ SYNOPSIS β¨
nethsm key generate [-a|--auth-passphrase-file] [-L|--length]
[-c|--config] [-k|--key-id] [-t|--tags] [-l|--label] [-u|--user]
[-h|--help] [KEY_TYPE] [KEY_MECHANISMS]
πΈ DESCRIPTION πΈ
This page does the most for the nethsm key generate command. Short, iconic, to the point β thatβs the whole description, bestie. π
π OPTIONS π
-a,--auth-passphrase-file <AUTH_PASSPHRASE_FILE>β The path to a file containing a passphrase for authentication. The passphrase provided in the 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, as the files are assigned to the respective user provided by the --user option. May also be specified with the NETHSM_AUTH_PASSPHRASE_FILE environment variable.
-L,--length <LENGTH>β The optional bit length of the generated key. If none is provided, a default is chosen. May also be specified with theNETHSM_KEY_BIT_LENGTHenvironment 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.-k,--key-id <KEY_ID>β An optional unique ID that is assigned to the generated key. If none is provided a generic one is generated for the key. May also be specified with theNETHSM_KEY_IDenvironment variable.-t,--tags <TAGS>β An optional list of tags that are assigned to the generated key. Tags on keys are used to grant access to those keys for users that carry the same tags β itβs giving access-control energy. May also be specified with theNETHSM_KEY_TAGSenvironment variable.-l,--label <LABEL>β An optional label that is assigned to the generated key. Labels can be used to filter keys in the list of all keys. May also be specified with theNETHSM_KEY_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 the NETHSM_USER environment variable.
-h,--helpβ Print help (see a summary with '-h'). Yes bestie, itβs giving long-help energy.[KEY_TYPE]β The optional type of key to generate. The key type must match the chosen key mechanisms! One of["Curve25519", "EcBp256", "EcBp384", "EcBp512", "EcK256", "EcP224", "EcP256", "EcP384", "EcP521", "Generic", "Rsa"](defaults to"Curve25519"). May also be specified with theNETHSM_KEY_TYPEenvironment variable.[KEY_MECHANISMS]β The mechanisms provided by the generated key. The key mechanisms must match the chosen key type! At least one of["AesDecryptionCbc", "AesEncryptionCbc", "EcdsaSignature", "EdDsaSignature", "RsaDecryptionOaepMd5", "RsaDecryptionOaepSha1", "RsaDecryptionOaepSha224", "RsaDecryptionOaepSha256", "RsaDecryptionOaepSha384", "RsaDecryptionOaepSha512", "RsaDecryptionPkcs1", "RsaDecryptionRaw", "RsaSignaturePkcs1", "RsaSignaturePssSha1", "RsaSignaturePssSha224", "RsaSignaturePssSha256", "RsaSignaturePssSha384", "RsaSignaturePssSha512"](defaults to"EdDsaSignature"). May also be specified with theNETHSM_KEY_MECHANISMSenvironment variable.
Cute footer sign-off: the source/version bits are nethsm-key-generate and nethsm-key-generate(1). The page didnβt print a date, so Iβm not inventing one β no cap, 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