Backup And Restore
Docs path: Operate / Backup And Restore
Backups are wrap-encrypted under the deterministic wrap key derived during the ceremony. Store the backup blob next to the ceremony mnemonic. An attacker with the backup but not the mnemonic cannot decrypt the wrapped signing keys.
Create a backup from the old HSM:
openkms backup --out /secure/usb/openkms-backup.jsonPrepare a replacement HSM:
openkms setup --mnemonic-file /secure/usb/mnemonic.txtRestore every signing key:
openkms restore --in /secure/usb/openkms-backup.jsonIf the mnemonic is compromised, rotate every on-chain account. It is the root of trust for the system.