nethsm-key-cert-import(1)

πŸ“¦ version 0.10.0, in arch rolling

πŸ’… nethsm-key-cert-import(1) β€” the nethsm key cert import command

okay so bestie, welcome to the nethsm-key-cert-import manual page (that's the General Commands Manual one, iykyk) πŸ’– this is the whole entire deal, no skips, no cap.


✨ SYNOPSIS ✨

nethsm key cert import [-a|--auth-passphrase-file] [-c|--config]
[-l|--label] [-u|--user] [-h|--help] <KEY_ID> <CERT_FILE>

that's the shape of it πŸŽ€ give it a key id and a certificate file and the flags do their little thing.


🌸 DESCRIPTION 🌸

The "nethsm key cert import" command. that's it, that's the description, she said what she said πŸ’… (yes, the original manpage is literally that brief β€” I'm not making stuff up, we keep it 100).


πŸ¦‹ OPTIONS πŸ¦‹

  • -a, --auth-passphrase-file <AUTH_PASSPHRASE_FILE> β€” the path to a file holding a passphrase for authentication. the passphrase in that file must be the one for the user chosen for the command, fr fr. this option can be provided multiple times β€” you need that for commands requiring multiple roles at once. when you stack multiple passphrase files, ordering matters, because the files get assigned to the respective user given by the --user option. also can be set with the NETHSM_AUTH_PASSPHRASE_FILE environment variable ✨
  • -c, --config <CONFIG> β€” the path to a custom configuration file. if you specify it, that custom config file gets used instead of the default configuration file location. also can be set with the NETHSM_CONFIG environment variable 🌈
  • -l, --label <LABEL> β€” a label uniquely identifying a device in the configuration file. must be provided if more than one device is set up in the config file. also can be set with the NETHSM_LABEL environment variable πŸŽ€
  • -u, --user <USER> β€” a user name used for a command. you can provide it if no user name is set up in the configuration file for a device; you must provide it if several user names of the same target role are set up in the config file for a device. this option can be provided multiple times β€” needed for commands that require multiple roles at once. also can be set with the NETHSM_USER environment variable πŸ’œ
  • -h, --help β€” print help (see a summary with '-h') πŸ‘‘
  • <KEY_ID> β€” the ID of the key for which to import the certificate. also can be set with the NETHSM_KEY_ID environment variable πŸ”₯
  • <CERT_FILE> β€” the path to the certificate file to import. also can be set with the NETHSM_KEY_CERT_FILE environment variable πŸ“
quick vibe check bestie: -a and -u both being repeatable is not a typo, it's literally load-bearing for multi-role commands, and the ordering of those -a files has to line up with the users you passed πŸ’€

🌟 little sign-off 🌟

this page comes from nethsm-key-cert-import (source/version, bestie) and it's dated nethsm-key-cert-import too β€” same name on both ends of the page, main character energy honestly. go import that cert, you're gonna slay πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from