.nh .TH "singularity" "1" "Feb 2022" "Auto generated by spf13/cobra" "" .SH NAME .PP singularity-key-export - Export a public or private key into a specific file .SH SYNOPSIS .PP \fBsingularity key export [export options...] \fP .SH DESCRIPTION .PP The 'key export' command allows you to export a key and save it to a file. .SH OPTIONS .PP \fB-a\fP, \fB--armor\fP[=false] ascii armored format .PP \fB-g\fP, \fB--global\fP[=false] manage global public keys (import/pull/remove are restricted to root user or unprivileged installation only) .PP \fB-h\fP, \fB--help\fP[=false] help for export .PP \fB-s\fP, \fB--secret\fP[=false] export a secret key .SH EXAMPLE .PP .RS .nf Exporting a private key: $ singularity key export --secret ./private.asc Exporting a public key: $ singularity key export ./public.asc .fi .RE .SH SEE ALSO .PP \fBsingularity-key(1)\fP .SH HISTORY .PP 20-Feb-2022 Auto generated by spf13/cobra