Security model
Authentication, audit logging and encrypted secret storage.
Authentication
- Console/API — bearer tokens from
POST /api/v1/auth/login. The initialadminpassword comes fromCERTCLM_ADMIN_PASSWORD(or a random one printed at first boot). All/api/v1/*routes require auth except login and agent-scoped routes. - Agents — per-node tokens issued at enrollment; agent endpoints (
/api/v1/agent/*) are isolated from the admin surface. - Users & roles — additional accounts via
/api/v1/userswith role-based permissions.
Audit log
Every security-relevant action lands in the audit log: issuance, renewal, CA failover, exports (key material leaving the platform), push results, discovery scans, stale-edge detections. Each entry carries actor, action, target and timestamp — export-friendly for compliance.

Secret storage
- DNS credentials, notification tokens and push-target secrets are stored AES-256-GCM-encrypted under
CERTCLM_MASTER_KEY(theenc1:format). Back up the key — its loss makes stored secrets unrecoverable. - Listing endpoints mask secret fields (
*key*,*token*,*secret*) — the API never returns what it stored. - EAB HMACs arrive via environment variables, never argv or the DB.
Private keys
Two delivery models, same guarantee where it matters:
- Pull agents generate keys on the host — keys never leave the node, and such certificates refuse server-side export/push.
- Push targets need the key in the server to deliver it to the managed service; it's stored encrypted and delivered over TLS only.