nethsm(1)
π nethsm(1) β the "nethsm" CLI, explained by your fave Unix bestie
okay so picture this: you're in the General Commands Manual section of the man pages, and you just cracked open nethsm(1). bestie, you're in the right place. this is the top-level entry point for the nethsm CLI β like, the front door of the whole thing. everything else lives behind a subcommand. let's get into it π
β¨ NAME β¨
nethsm β the "nethsm" CLI. that's literally it, that's the whole name section. short, sweet, iconic. π
πΈ SYNOPSIS πΈ
nethsm [-a|--auth-passphrase-file] [-c|--config] [-l|--label]
[-u|--user] [-h|--help] [-V|--version] <subcommands>
so yeah, you got your global flags at the front, then you tell it which <subcommands> you want. the flags live before the subcommand β the way that ordering matters is so real. π
π¦ DESCRIPTION π¦
The "nethsm" CLI. that's what the manpage says, and honestly? we respect the brevity. this is the umbrella binary β it holds all the global options and then hands you off to whatever subcommand actually does the thing. main character energy is the subcommands, but the parent is the one driving the car. πβ¨
π 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 you chose for the command. like, no cap, they have to match.
- 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 get assigned to the respective user provided by the
"--user"option. so don't just throw them in there in any old order, bestie π - may also be specified with the
NETHSM_AUTH_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. basically: you're overriding the default spot. ποΈ
- may also be specified with the
NETHSM_CONFIGenvironment 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. (read: if you've got multiple devices configured, the CLI isn't gonna guess which one you mean β tell it.) π
- may also be specified with the
NETHSM_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. iykyk β ambiguous config, you gotta disambiguate.
- this option can be provided multiple times, which is needed for commands that require multiple roles at once. multiple roles = multiple users, periodt.
- may also be specified with the
NETHSM_USERenvironment variable.
-h,--helpβ print help. (see a summary with'-h') π¬-V,--versionβ print version.
heads up bestie: a lot of these have environment variable twins βNETHSM_AUTH_PASSPHRASE_FILE,NETHSM_CONFIG,NETHSM_LABEL,NETHSM_USER. env vars are lowkey the vibe when you don't wanna retype flags every single time. β¨
π SUBCOMMANDS π
every single one of these has its own manpage, and they're all linked below. go off, explore, the whole menu is yours π«Ά
nethsm-config(1)β the"nethsm config"commandnethsm-env(1)β the"nethsm env"commandnethsm-health(1)β the"nethsm health"commandnethsm-info(1)β the"nethsm info"commandnethsm-key(1)β the"nethsm key"commandnethsm-lock(1)β the"nethsm lock"commandnethsm-metrics(1)β the"nethsm metrics"commandnethsm-namespace(1)β the"nethsm namespace"commandnethsm-openpgp(1)β the"nethsm openpgp"commandnethsm-provision(1)β the"nethsm provision"commandnethsm-random(1)β the"nethsm random"commandnethsm-system(1)β the"nethsm system"commandnethsm-unlock(1)β the"nethsm unlock"commandnethsm-user(1)β the"nethsm user"commandnethsm-help(1)β print this message or the help of the given subcommand(s)
β VERSION β
v0.10.0
π AUTHORS π
David Runge <dvzrv@archlinux.org>, Wiktor Kwapisiewicz <wiktor@archlinux.org> β absolute legends, we stan π
and that's the page, bestie!! π this one's nethsm version 0.10.0, and you'll see nethsm 0.10.0 stamped in the footer of the original along with the nethsm(1) manual reference β so if anyone asks where you got all this, that's the receipt. now go nethsm --help something and slay π
β¨π
π¦ 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