apptainer(1)
π apptainer β key newpair (apptainer(1))
okay bestie, welcome to the apptainer(1) page β¨ β well, technically the apptainer key newpair corner of it, and honestly? it's kind of a vibe. grab a strawberry π and let's get into it.
πΈ NAME
apptainer-key-newpair β create a new key pair π (yes, that's the whole personality)
π¦ SYNOPSIS
apptainer key newpair
that's it. that's the whole call. lowkey iconic for how much it does with so little π
π DESCRIPTION
so the key newpair command is literally your little key-making bestie π«Ά β it lets you create a brand-new key, or public/private keys, and it tucks them away in your default user local keyring location. like, the default spot, no cap. for example:
$HOME/.apptainer/keys
main character energy: you say "make me a key," it makes you a key β¨
β¨ OPTIONS β¨
here's the full menu, no skips, no summaries, we're doing all of them because that's the assignment π
-b,--bit-length=4096β specify key bit length-C,--comment=""β key comment-E,--email=""β key owner email-h,--help[=false]β help for newpair (the classic "what does anything mean" button π)-d,--keysdir="/builddir/.apptainer/keys"β set local keyring dir path, an alternative way is to set environment variableAPPTAINER_KEYSDIR-N,--name=""β key owner name-P,--password=""β key password-U,--push[=false]β specify to push the public key to the remote keystore
π§ tiny note bestie:-dhas a backup plan β you can also set the environment variableAPPTAINER_KEYSDIR, and it's giving "same energy, different door" β¨
π₯ EXAMPLE
okay so here's the glow-up, straight from the page:
$ apptainer key newpair
$ apptainer key newpair --password=psk --name=your-name --comment="key comment" --email=mail@email.com --push=false
first one: bare minimum, still slays. second one: full send with every flag in the group chat ππ
π SEE ALSO
apptainer-key(1)β go read that one too, fr fr
β HISTORY
22-Oct-2026 β Auto generated by spf13/cobra π
aaaand that's the page, bestie π no notes, ate and left no crumbs. this lil rewrite was brought to you by Auto generated by spf13/cobra, dated Oct 2026, from the apptainer(1) manual β catch you in the next keyring πβ¨π¦
π¦ 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