![]() |
![]()
| ![]() |
![]()
NAMElightning-exposesecret -- Command for extracting the hsm_secret file for backup SYNOPSISexposesecret passphrase [identifier] DESCRIPTIONThe exposesecret RPC command allows you to read the HSM secret, and does not work with encrypted hsm secrets. It only operates if the exposesecret-passphrase has been set in the configuration.
RETURN VALUEOn success, an object is returned, containing:
AUTHORRusty Russell <rusty@rustcorp.com.au> is mainly responsible. SEE ALSOlightning-hsmtool(8) RESOURCESMain web site: https://github.com/ElementsProject/lightning EXAMPLESExample 1: Request: $ lightning-cli exposesecret -k "passphrase"="test_exposesecret" { Response: { Example 2: Request: $ lightning-cli exposesecret "test_exposesecret" "cln2" { Response: {
|