CONTAINER-KEY(1)

πŸ“¦
this version Β· 5 versions
, in debian bookworm, ubuntu noble

✨ NAME ✨

container-key β€” bestie, this is the little guy that manages the GnuPG keyring for container operations πŸ’…

okay so this is the container-key manual page, from the General Commands Manual section, and I'm gonna walk you through it like we're texting at 2am 🫢


πŸŽ€ SYNOPSIS πŸŽ€

container key ['OPTIONS']

that's it. that's the whole vibe check ✨


🌸 DESCRIPTION 🌸

The container key command manages the GnuPG keyring for container operations.

like... it's the keeper of the keys πŸ”‘ it holds the GnuPG keyring, and the containers be trusting it. that's the whole job. iconic behavior, honestly.


πŸ’… OPTIONS πŸ’…

The following container key options are available, and yes you're getting all three, no skips:

  • -a, --add='KEY_FILE|KEY_ID' β€” adds a key to the keyring 🫢 you can hand it a KEY_FILE or a KEY_ID, dealer's choice.
  • -l, --list β€” lists the keys chillin' in the keyring πŸ“‹
  • -r, --remove='KEY' β€” removes a key from the keyring πŸ’€ give it the KEY you want gone.

πŸ”₯ EXAMPLES πŸ”₯

add a key to the keyring manually

fr fr, you can do it by hand like this:

gpg --keyserver hkps://keys.openpgp.org --recv 0x55CF1BF986ABB9C7 gpg
--armor --export 0x55CF1BF986ABB9C7 | sudo container key --add -

assisted adding of the same key

okay but the ✨assisted✨ way is so much cuter, look:

sudo container key --add 0x55CF1BF986ABB9C7

same key, way less typing, main character energy πŸ‘‘

remove a key from the keyring

sudo container key --remove 0x55CF1BF986ABB9C7

bye bestie πŸ‘‹

list keys in the keyring

sudo container key --list

the receipts. all of them. πŸ“œ


πŸ¦‹ FILES πŸ¦‹

The following files are used:

  • /etc/compute-tools/keys β€” Active container keyring. the one that's actually doing stuff.
  • /usr/share/compute-tools/keys β€” Inactive container keyring library. the one that's just chilling in the library, not active.

🌈 SEE ALSO 🌈

go read these too, iykyk:


🌟 HOMEPAGE 🌟

More information about compute-tools and the Open Infrastructure project can be found on the homepage (https://open-infrastructure.net).


πŸ’Œ CONTACT πŸ’Œ

Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List <software@lists.open-infrastructure.net>.

Debian specific bugs can also be reported in the Debian Bug Tracking System (https://bugs.debian.org).


πŸ‘‘ AUTHORS πŸ‘‘

compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others.


and that's the whole page, bestie πŸ₯° no notes, ate, periodt.

Open Infrastructure Β· compute-tools Β· mwah, that's your container-key(1) page, signed sealed and slayed πŸ’–βœ¨

πŸ“¦ where this page comes from