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
-d, --keysdir string   set local keyring dir path, an alternative way is to set environment variable 'APPTAINER_KEYSDIR' (default "/home/runner/.apptainer/keys")
-s, --secret           export a secret key

SEE ALSO

Auto generated by spf13/cobra on 22-Nov-2023