singularity-key-export1
Export a public or private key into a specific file
Usage
apptainer key
export
[export
options ...]
Overview
The 'key export' command allows you to export a key and save it to a file.
Options
-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="/build/.apptainer/keys"
set local keyring dir path, an alternative way is to set environment variable 'APPTAINER_KEYSDIR'
-s, --secret[=false]
export a secret key
Examples
Exporting a private key: $ apptainer key export --secret ./private.asc Exporting a public key: $ apptainer key export ./public.asc