Man page - cascade-hsm(1)
Packages contas this manual
Manual
| CASCADE-HSM(1) | Cascade | CASCADE-HSM(1) |
NAME
cascade-hsm - Manage HSMs
SYNOPSIS
cascade hsm [OPTIONS] <COMMAND>
cascade hsm [OPTIONS] add <SERVER_ID> <IP_HOST_OR_FQDN>
cascade hsm [OPTIONS] show <SERVER_ID>
cascade hsm [OPTIONS] list
DESCRIPTION
Manage HSM's.
OPTIONS
- -h, --help
- Print the help text (short summary with -h, long help with --help).
COMMANDS
- add
- Add a KMIP server to use for key generation & signing.
Note: There are no commands to remove or modify KMIP servers yet.
- show
- Get the details of an existing KMIP server.
- list
- List all configured KMIP servers.
ARGUMENTS FOR HSM SHOW
- <SERVER_ID>
- The identifier of the KMIP server to show information about.
HSM ADD
Add a KMIP server to use for key generation & signing instead of using Ring/OpenSSL based key generation.
ARGUMENTS FOR HSM ADD
- <SERVER_ID>
- An identifier to refer to the KMIP server by.
This identifier is used with other cascade hsm commands and Cascade policy files. The identifier serves several purposes:
1. To make it easy at a glance to recognize which KMIP server a given key was created on, by allowing operators to assign a meaningful name to the server instead of whatever identity strings the server associates with itself or by using hostnames or IP addresses as identifiers.
2. To refer to additional configuration elsewhere to avoid including sensitive and/or verbose KMIP server credential or TLS client certificate/key authentication data in each key identifier, and which would be repeated in every key created on the same server.
3. To allow the actual location of the server and/or its access credentials to be rotated without affecting key idenifiers, e.g. if a server is assigned a new IP address or if access credentials change.
- <IP_HOST_OR_FQDN>
- The hostname or IP address of the KMIP server.
OPTIONS FOR HSM ADD
- -h, --help
- Print the help text (short summary with -h, long help with --help).
Server:
- --port <PORT>
- TCP port to connect to the KMIP server on.
[default: 5696]
Client Credentials:
- --username <USERNAME>
- Optional username to authenticate to the KMIP server as.
Note: When using the Cascade kmip2pkcs11 tool the username set here will be used as the label of the PKCS#11 token to login to.
- --password <PASSWORD>
- Optional password to authenticate to the KMIP server with.
Note: When using the Cascdee kmip2pkcs11 tool the password set here will be used as the PKCS#11 PIN to login with.
Client Certificate Authentication:
- --client-cert <CLIENT_CERT_PATH>
- Optional path to a TLS certificate to authenticate to the KMIP server with. The file will be read and sent to the server.
- --client-key <CLIENT_KEY_PATH>
- Optional path to a private key for client certificate authentication. THe
file will be read and sent to the server.
The private key is needed to be able to prove to the KMIP server that you are the owner of the provided TLS client certificate.
Server Certificate Verification:
- --insecure
- Whether to accept the KMIP server TLS certificate without verifying it.
Use this option when your KMIP server uses a self-signed TLS certificate, e.g. in a test environment.
- --server-cert <SERVER_CERT_PATH>
- Optional path to a TLS PEM certificate for the server.
- --ca-cert <CA_CERT_PATH>
- Optional path to a TLS PEM certificate for a Certificate Authority.
Client Limits:
- --connect-timeout <CONNECT_TIMEOUT>
- TCP connect timeout.
[default: 3s]
- --read-timeout <READ_TIMEOUT>
- TCP response read timeout.
[default: 30s]
- --write-timeout <WRITE_TIMEOUT>
- TCP request write timeout.
[default: 3s]
- --max-response-bytes <MAX_RESPONSE_BYTES>
- Maximum KMIP response size to accept (in bytes).
[default: 8192]
Key Labels:
- --key-label-prefix <KEY_LABEL_PREFIX>
- Optional user supplied key label prefix.
Can be used to denote the s/w that created the key, and/or to indicate which installation/environment it belongs to, e.g. dev, test, prod, etc.
- --key-label-max-bytes <KEY_LABEL_MAX_BYTES>
- Maximum label length (in bytes) permitted by the HSM. Key labels longer
than this will be truncated to fit.
[default: 32]
SEE ALSO
- https://cascade.docs.nlnetlabs.nl
- Cascade online documentation
- cascade(1)
- Cascade CLI
- cascaded(1)
- Cascade Daemon
- kmip2pkcs11(1)
- KMIP to PKCS#11 relay documentation
AUTHOR
NLnet Labs <cascade@nlnetlabs.nl>
COPYRIGHT
2025–2025, NLnet Labs
| November 21, 2025 | 0.1.0-alpha5 |