agent.yml. The authoritative source is schemas/agent.schema.json.
Required top-level keys: identity, broker, certificates.
state_dir
agent.lock lives here. Default: /var/lib/certplane/agent.
identity
You must set exactly one of
step_ca.fingerprint or step_ca.root_ca_bundle.
broker
certificates
A list with at least one entry. Each entry is a managed service certificate.
For more on reload commands and how the agent privileges work, see Reload commands.
logging
info, text, stderr (so journalctl shows readable lines out of the box).
Validation
certplane-agent ... check (and every other subcommand at startup) validates that:
- All required fields are present.
- Every
certificates[].dns_namesentry is a valid DNS name. step_ca.urlandbroker.urlare valid URLs.- Exactly one of
step_ca.fingerprintandstep_ca.root_ca_bundleis set. - Output paths under
certificatesare absolute.
config/agent.go.