PUPPET-KEY(8)
π PUPPET-KEY π
okay bestie, welcome to puppet-key β that's section 8 of the Puppet manual, so you know it's a command you run from the shell, not some library nonsense. She creates, saves, and removes certificate keys. That's the whole vibe. β¨
πΈ SYNOPSIS πΈ
puppet key action [--terminus _TERMINUS] [--extra HASH]
that's it, that's the shape of it. one action, and then some optional little garnish flags. π
π¦ DESCRIPTION π¦
so this subcommand manages certificate private keys. literally its whole job. π
and here's the tea: keys are created automatically by puppet agent, and also when certificate requests get generated with puppet certificate generate. so likeβ¦ it should not be necessary to use this subcommand directly?? it's the backup plan, the emergency contact, the "i know a guy" of subcommands. π«Ά
β¨ OPTIONS β¨
first things first, a lil note before we get into it: any setting that's valid in the configuration file is also a valid long argument β even if it's lowkey irrelevant to whatever action you're doing right now. like, server and run_mode are valid settings, so you can totally pass --server <servername>, or --run_mode <runmode> as an argument. slay. π«
for the full list of acceptable parameters, go read the configuration file docs at https://puppet.com/docs/puppet/latest/configuration.html. and if you want a commented list of ALL the configuration options, just run puppet with --genconfig and it'll hand it over. π
--render-as FORMATβ the format your output gets rendered in. the most common formats arejson,s(that's string, bestie),yaml, andconsole, but sometimes other options likedotshow up too. pick your aesthetic. π¨--verboseβ whether to log verbosely. do you want the whole story or just the highlights? π£οΈ--debugβ whether to log debug information. this is the "tell me EVERYTHING, i can handle it" setting. π--extra HASHβ so a terminus can take extra arguments to refine the operation, and those get passed as an arbitrary hash to the back-end. anything you pass as the extra value is just sent direct to the back-end. no filter, no middleman. π¬--terminus _TERMINUSβ okay this one's a whole paragraph, sit down.
indirector faces expose indirected subsystems of Puppet. each of these subsystems can retrieve and alter one specific type of data β using the familiar actions find, search, save, and destroy β from an arbitrary number of pluggable backends. and in Puppet parlance? those backends are called terminuses. periodt. π
almost all indirected subsystems have a rest terminus that interacts with the puppet master's data. most of them also have additional terminuses for various local data models, which are in turn used by the indirected subsystem on the puppet master whenever it receives a remote request. π°οΈ
the terminus for an action is often determined by context, but occasionally you gotta set it explicitly. see the "Notes" section of this face's manpage for more details. iykyk. π
π₯ ACTIONS π₯
here's the lineup, bestie. five actions, each one an icon in her own right.
destroy β Delete an object.
SYNOPSIS
puppet key destroy [--terminus _TERMINUS] [--extra HASH] key
DESCRIPTION
Delete an object. that's it. gone. poof. π«₯
find β Retrieve an object by name.
SYNOPSIS
puppet key find [--terminus _TERMINUS] [--extra HASH] [key]
DESCRIPTION
Retrieve an object by name. notice the key is in square brackets here β optional, bestie, she's flexible like that. π
info β Print the default terminus class for this face.
SYNOPSIS
puppet key info [--terminus _TERMINUS] [--extra HASH]
DESCRIPTION
Prints the default terminus class for this subcommand. important caveat tho: different run modes may have different default termini β so when in doubt, specify the run mode with the '--run_mode' option. don't get caught out. π
save β API only: create or overwrite an object.
SYNOPSIS
puppet key save [--terminus _TERMINUS] [--extra HASH] key
DESCRIPTION
API only: create or overwrite an object. and here's the sad part β as the Faces framework does not currently accept data from STDIN, save actions cannot currently be invoked from the command line. so it's API-only fr fr. we mourn. π
search β Search for an object or retrieve multiple objects.
SYNOPSIS
puppet key search [--terminus _TERMINUS] [--extra HASH] query
DESCRIPTION
Search for an object or retrieve multiple objects. plural. she's a collector. π
π NOTES π
okay so this subcommand is an indirector face, which means it exposes find, search, save, and destroy actions for an indirected subsystem of Puppet. we love a framework moment. π«Ά
valid termini for this face include:
cadisabled_cafilememory
four options, all valid, all iconic. π
Β©οΈ COPYRIGHT AND LICENSE Β©οΈ
Copyright 2011 by Puppet Inc. Apache 2 license; see COPYING
π that's the whole page bestie!! go forth and manage those certificate keys (or, y'know, let puppet agent do it, because again β you're not supposed to need this) π
stay slay, Puppet, Inc. β May 2022 β PUPPET-KEY(8) β¨π
ππ¦πΈ
π¦ where this page comes from
- ubuntu jammy: puppet 5.5.22-4ubuntu0.2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms