singularity key export

Export a public or private key into a specific file

Synopsis

The ‘key export’ command allows you to export a key and save it to a file.

singularity key export [export options...] <output-file>

Examples

Exporting a private key:

$ singularity key export --secret ./private.asc

Exporting a public key:

$ singularity key export ./public.asc

Options

-a, --armor    ascii armored format
-g, --global   manage global public keys (import/pull/remove are restricted to root user or unprivileged installation only)
-h, --help     help for export
-s, --secret   export a secret key

SEE ALSO

Auto generated by spf13/cobra on 3-Mar-2022