Improve subcommand's documentation.

This commit is contained in:
Neal H. Walfield 2024-08-14 14:00:06 +02:00
parent 20eb29930f
commit b395ca0cae
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3

View File

@ -456,6 +456,13 @@ test_examples!(sq_key_export, EXPORT_EXAMPLES);
#[derive(Debug, Args)]
#[clap(
about = "Export keys from the key store",
long_about = "
Export keys from the key store.
Exports the secret key material associated with a certificate. Note \
that even if secret key material is available, it may not be \
exportable. For instance, secret key material stored on a hardware \
security module usually cannot be exported from the device.",
after_help = EXPORT_EXAMPLES,
)]
#[clap(group(ArgGroup::new("export").args(&["cert", "key"])))]