Skip to main content
This page documents every field in agent.yml. The authoritative source is schemas/agent.schema.json. Required top-level keys: identity, broker, certificates.

state_dir

Base directory for agent state. The lock file 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

Agent defaults: 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_names entry is a valid DNS name.
  • step_ca.url and broker.url are valid URLs.
  • Exactly one of step_ca.fingerprint and step_ca.root_ca_bundle is set.
  • Output paths under certificates are absolute.
The full list lives in config/agent.go.