apptainer 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.

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

Examples

Exporting a private key:

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

Exporting a public key:

$ apptainer 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 16-Feb-2023