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/removeare restricted to root user or unprivileged installation only π-h,--help[=false]β help forexport. 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--keysdiris/builddir/.apptainer/keys, the env var alternative is'APPTAINER_KEYSDIR', and--globalimport/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