Skip to main content

Fingerprint

Show the fingerprint of the controller's key.

osapi calculates the fingerprint from the Ed25519 public key of the controller, in controller.pki.key_dir (/etc/osapi/pki by default). Agents use this fingerprint to verify that jobs come from a trusted controller. If no key exists, the command makes a new key pair. Then it shows the fingerprint.

osapi controller key fingerprint

Examples​

osapi controller key fingerprint

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.