Skip to content

Authentication

Bizon Platform has no user accounts. Authentication is a single optional password.

If ADMIN_PASSWORD is not set, the API has no authentication. Anyone who can reach it can read configs, run pipelines and upload code. Only run it like this on a trusted network.

When ADMIN_PASSWORD is set, every endpoint except GET /api/health requires HTTP Basic auth. Any username is accepted; only the password is checked.

Terminal window
curl -u admin:$ADMIN_PASSWORD http://localhost:8000/api/pipelines

Requests without valid credentials get 401 with a WWW-Authenticate: Basic header. Because the UI calls the API on the same origin, the browser shows its own login prompt.

Two paths stay open:

  • /api/health, so load balancers and Kubernetes probes keep working;
  • /api/custom-sources/git-sync/webhook, which checks GIT_SYNC_WEBHOOK_SECRET instead.
DeploymentHow
Local (no Docker)ADMIN_PASSWORD=... in .env or the environment
Docker ComposeADMIN_PASSWORD=... in .env. The services load it automatically.
Helmsecurity.adminPassword. See Kubernetes for using an existing Secret.

Basic auth gives you one shared password. Serve it over HTTPS only. If you need per-user logins, SSO or audit trails, put an authenticating reverse proxy in front of the platform, such as oauth2-proxy, Cloudflare Access or your ingress controller’s auth, and leave ADMIN_PASSWORD unset or use both.