key generate
Generate a standard key directory for backup encryption:
ppk.pubppk.keyppk.pwdmanifest.json
Command Format:
ppk key generate [--key-home <DIR>] [--force] [--prompt-for-passphrase] [--apply]
Description
--key-home <DIR>: standard key directory.--force: overwrite existing key files.--prompt-for-passphrase: enter the private-key passphrase in the terminal.--apply: actually write key files.
Usage Sample
ppk key generate --key-home ~/.peppykeep/keys/project-a
PPKPKPSW='your-passphrase' ppk key generate --key-home ~/.peppykeep/keys/project-a --apply
ppk key generate --key-home ~/.peppykeep/keys/project-a --prompt-for-passphrase --apply
notice
- Without
--apply, only print files and paths that would be created. - Without
--prompt-for-passphrase, provide the private-key passphrase viaPPKPKPSW. - Backup nodes store the public key only; restore nodes store the private key.