apptainer(1) apptainer(1)

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="/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

  Exporting a private key:
  $ apptainer key export --secret ./private.asc
  Exporting a public key:
  $ apptainer key export ./public.asc

apptainer-key(1)

1-Apr-2024 Auto generated by spf13/cobra

Apr 2024 Auto generated by spf13/cobra