Headless Operations
Operate Thoth without a dashboard using thothctl, the Thoth Control Plane API, and your existing CI/CD workflows.
Use this guide when you want to run Thoth with a code-first operating model and no dashboard dependency.
Operating model
1) Configure control-plane auth for automation
THOTH_API_KEY is the recommended CI/CD auth path.
For interactive admin sessions, you can still bootstrap a bearer session:
2) Bootstrap baseline governance
3) Enable strict Secrets Broker for MCP/API tools
Use strict fail-closed mode so runtime credentials are resolved at request time from managed secret backends, not persisted in local endpoint tool config.
Replace <stitch-host> with your Stitch API hostname.
4) Manage browser governance as code
5) Run endpoint-side policy sync
6) Verification checklist
thothctl bootstrap --jsonreturns success flags.thothctl settings get --jsonreturns expected baseline configuration.thothctl mdm list --jsonshows enabled provider records.thothctl endpoints list --jsonshows enrolled endpoints.thoth health --jsonon endpoints returns healthy status.- SIEM webhook test succeeds and evidence events are visible in your monitoring pipeline.
7) Evidence quality checks
Run these checks after rollout and periodically in CI:
Use thothctl evidence backfill only when you need to materialize missing governance evidence records for older events.
Rollout guidance
Use staged rollout in automation:
- Canary endpoints
- Pilot group
- Broad production rollout
Use your existing incident and rollback playbooks for any regression during rollout.