apptainer(1)

πŸ’… apptainer(1) β€” the apptainer-key-export glow-up πŸŽ€

okay so bestie, welcome to the apptainer manual page β€” and specifically the apptainer-key-export one, which is a sub-command situation, iykyk. this whole thing lives in the apptainer(1) manual and honestly? it's giving "small command, big keys energy" πŸ”‘βœ¨


🌸 NAME 🌸

apptainer-key-export β€” the command that yeets a public or private key out into a file of your choosing, no cap 🫢


✨ SYNOPSIS ✨

apptainer key export [export options...]

that's it. that's the whole vibe. apptainer key export plus whatever options you feel like adding πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so the 'key export' command is literally exactly what it sounds like, bestie β€” it lets you export a key and save it to a file. main character behavior fr fr. you got a key, you want it in a file, boom, this is the command 🌈


πŸ’– OPTIONS πŸ’–

okay here's the full menu, no skipping, we're not doing that here πŸ‘‘

  • -a, --armor[=false] β€” ascii armored format ✨ (yes, like armor, for your key, iconic)
  • -g, --global[=false] β€” manage global public keys. heads up though: import/pull/remove are restricted to root user or unprivileged installation only πŸ‘€
  • -h, --help[=false] β€” help for export. the classic. the icon. use it when you're lost 🫢
  • -d, --keysdir="/builddir/.apptainer/keys" β€” set the local keyring dir path. alternative way to do the same thing? set the environment variable 'APPTAINER_KEYSDIR' πŸ’œ
  • -s, --secret[=false] β€” export a secret key πŸ™ˆ (secret key! be careful with that one!)

πŸŽ€ EXAMPLE πŸŽ€

here's the receipts, bestie πŸ’…

Exporting a private key:

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

Exporting a public key:

$ apptainer key export ./public.asc

see? --secret for the private one, no flag for the public one. slay πŸ¦‹


πŸ”₯ SEE ALSO πŸ”₯

  • apptainer-key(1) β€” go read that one too, it's the whole key family vibe πŸ‘‘

⭐ HISTORY ⭐

22-Oct-2026 β€” Auto generated by spf13/cobra. (not me being auto-generated 😭)


ngl the most important deets: the default --keysdir is /builddir/.apptainer/keys, the env var alternative is 'APPTAINER_KEYSDIR', and --global import/pull/remove is restricted to root user or unprivileged installation only. write those down bestie πŸ“

and that's the page!! auto generated by spf13/cobra, dated Oct 2026, sitting pretty in apptainer(1) β€” drink water, back up your keys, and go export something gorgeous πŸ’–πŸŽ€πŸ¦‹πŸ’…βœ¨

πŸ“¦ where this page comes from
  • epel 9: apptainer 1.5.5-1.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-LBNL AND ISC AND MIT AND MPL-2.0 AND Unlicense
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms