diff --git a/cli/keyring.go b/cli/keyring.go index c60440ccc9..a905ce190b 100644 --- a/cli/keyring.go +++ b/cli/keyring.go @@ -19,7 +19,21 @@ func MakeKeyringCommand() *cobra.Command { Use: "keyring", Short: "Manage DefraDB private keys", Long: `Manage DefraDB private keys. -Generate, import, and export private keys.`, +Generate, import, and export private keys. + +The following keys are loaded from the keyring on start: + peer-key: Ed25519 private key (required) + encryption-key: AES-128, AES-192, or AES-256 key (optional) + +To randomly generate the required keys, run the following command: + defradb keyring generate + +To import externally generated keys, run the following command: + defradb keyring import + +To learn more about the available options: + defradb keyring --help +`, } return cmd }