apptainer-key-export - Export a public or private key into a specific file
apptainer key export [export options...]
The ’key export’ command allows you to export a key and save it to a file.
-a, --armor[=false] |
ascii armored format |
||
-g, --global[=false] |
manage global public keys (import/pull/remove are restricted to root user or unprivileged installation only) |
||
-h, --help[=false] |
help for export |
||
-d, --keysdir="/builddir/.apptainer/keys" |
set local keyring dir path, an alternative way is to set environment variable ’APPTAINER_KEYSDIR’ |
||
-s, --secret[=false] |
export a secret key |
Exporting a private key:
$ apptainer key export --secret ./private.asc
Exporting a public key:
$ apptainer key export ./public.asc
29-Mar-2023 Auto generated by spf13/cobra