Server command line¶
limdm-server¶
limdm-server without arguments runs serve.
| Command | Purpose |
|---|---|
serve |
run the server with the environment variables |
local-admin [-env FILE] [-role admin\|helpdesk\|auditor] [-out FILE] add\|reset\|disable\|enable\|list [NAME] |
local console accounts (Local admins) |
keys [-env FILE] status |
active and retiring keys, rotation progress |
keys [-env FILE] rotate ca\|network-ca\|command\|session\|webhook [-name NAME] |
start a rotation (-name is required with an HSM) |
keys [-env FILE] finish KIND [-force] |
finish a rotation (Rotation) |
audit [-ca DIR] verify FILE.jsonl |
verify a JSON Lines audit export (Audit, export) outside the server; prints the range and "chain intact" or the first broken entry |
audit [-ca DIR] key |
print the audit key segments (key=<hex> keyed_from=<id>, one line per command key) for an auditor who verifies on another machine |
audit -key HEX -keyed-from ID verify FILE.jsonl |
verify with a printed key instead of the CA directory (one segment) |
backup [-env FILE] create [-reason TEXT] [-if-configured] |
back up now to the configured targets (Backup) |
backup [-env FILE] list [-from TARGET] |
runs of the history, or the archives on a target |
backup [-env FILE] verify -identity KEY [-command-key HEX] FILE |
decrypt and check an archive against its signed manifest |
backup [-env FILE] restore -identity KEY [-replay FILE] [-window 168h] FILE |
restore into an empty database and CA directory (Restore an archive) |
backup [-env FILE] restore-test -identity KEY [-from TARGET] FILE |
restore into a scratch database, verify, record the result |
keygen [-out FILE] |
create a release signing key (default release.key), print the public key |
sign -key FILE\|-key-env VAR\|-pkcs11 LABEL SHA256SUMS |
sign release checksums (release key) |
evidence [-ca DIR \| -key HEX] verify evidence.json |
verify a signed evidence bundle outside the server (Evidence) |
logs -env FILE status\|archive\|restore -day DATE [-tenant ID] |
log archive: archived days, archive finished days now, restore a day (Archive) |
audit reads LIMDM_CA_DIR (default /var/lib/limdm-server/ca) and, with an HSM, the
LIMDM_KEY_PROVIDER and LIMDM_PKCS11_* variables. Run the commands as the limdm user so
key files stay readable only by it.