Reference For: developers, administrators

kyvernon depot

The depot command of the kyvernon CLI with its subcommands and arguments.

kyvernon depot

Offline depot: verify, install, sign (no controller needed)

Usage
kyvernon depot <COMMAND>

Subcommands: verify, install, sign, pubkey

kyvernon depot verify

Verify the signature and every file of a depot directory

Usage
kyvernon depot verify [OPTIONS] <DIR>
ArgumentDescriptionRequired
<DIR>Depot directoryyes
--pubkeyPublic key file in minisign format (default: KYVERNON_DEPOT_PUBKEY, then /etc/kyvernon/release-signing.minisign.pub, /usr/share/kyvernon/keys/..., then the key compiled into this binary)
environment variable KYVERNON_DEPOT_PUBKEY

kyvernon depot install

Verify a depot, then install its packages with dpkg (root)

Usage
kyvernon depot install [OPTIONS] <DIR>
ArgumentDescriptionRequired
<DIR>Depot directoryyes
--pubkeyPublic key file in minisign format (default: KYVERNON_DEPOT_PUBKEY, then /etc/kyvernon/release-signing.minisign.pub, /usr/share/kyvernon/keys/..., then the key compiled into this binary)
environment variable KYVERNON_DEPOT_PUBKEY
--roleWhich packages to install
default all; values controller, agent, cli, all
--dry-runPrint the dpkg command instead of running it

kyvernon depot sign

Sign depot.json with the release key (offline signing machine only)

Usage
kyvernon depot sign [OPTIONS] <DIR>
ArgumentDescriptionRequired
<DIR>Depot directory containing depot.jsonyes
--keyPrivate key, OpenSSL PKCS#8 PEM (never stored in the repository)
environment variable KYVERNON_SIGNING_KEY
yes
--commentTrusted comment (covered by the signature); default names the version

kyvernon depot pubkey

Print the minisign public key and key id of a private key, or the key id of a public key

Usage
kyvernon depot pubkey [OPTIONS]
ArgumentDescriptionRequired
--keyPrivate key, OpenSSL PKCS#8 PEM
environment variable KYVERNON_SIGNING_KEY
--pubkeyPublic key file in minisign format
--commentUntrusted comment written into the public key file
default kyvernon release signing key

Version 0.1.