.TH SQ 1 0.38.0 "Sequoia PGP" "User Commands" .SH NAME sq key subkey export \- Export keys from the key store .SH SYNOPSIS .br \fBsq key subkey export\fR [\fIOPTIONS\fR] .SH DESCRIPTION Export secret key material from the secret key store. .PP Exports the secret key material. 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. .PP If you want to export all secret key material associated with a certificate, use `sq key export`. .PP .SH OPTIONS .SS "Subcommand options" .TP \fB\-\-key\fR=\fIFINGERPRINT|KEYID\fR Export the specified key. .IP The entire certificate is exported, but only the specified key's secret key material is exported. An error is returned if the secret key material for the specified key is not available. .SS "Global options" See \fBsq\fR(1) for a description of the global options. .SH EXAMPLES .PP .PP Export Alice's signing\-capable and encryption\-capable subkeys, but not her primary key or her authentication\-capable subkey. .PP .nf .RS sq key subkey export \-\-key \\ .RE .RS .RS 42020B87D51877E5AF8D272124F3955B0B8DECC8 \-\-key \\ .RE .RE .RS .RS 74DCDEAF17D9B995679EB52BA6E65EA2C8497728 .RE .RE .fi .SH "SEE ALSO" .nh \fBsq\fR(1), \fBsq\-key\fR(1), \fBsq\-key\-subkey\fR(1). .hy .PP For the full documentation see . .SH VERSION 0.38.0 (sequoia\-openpgp 1.21.2)