Title here
Summary here
All write endpoints require Authorization: Bearer <token>. The token is resolved in priority order:
BOUINE_ADMIN_TOKEN environment variable (recommended for Kubernetes / Vault injection)admin.token in the config fileWARN at startup)Set BOUINE_ADMIN_TOKEN to inject the token without baking it into the config ConfigMap:
export BOUINE_ADMIN_TOKEN=your-secret-token
bouine serve --config /etc/bouine/config.yamlOn Kubernetes with a chassis AppSecretSet, the env var is populated automatically from Vault — no extraEnv or Helm --set needed:
# deploy/common/values.yaml
chassis:
secrets:
enabled: true
env:
app:
preprod-eu:
BOUINE_ADMIN_TOKEN:
continent: shared
name: dashboard
field: admin_token
version: "1"admin:
token: your-secret-tokenIf neither the env var nor the config value is set, bouine auto-generates a random token at startup — check the WARN log line or run:
make admin-token CONFIG=config.yamlOn Kubernetes:
kubectl logs statefulset/bouine -n <namespace> | grep "admin token"bouine purge https://example.com/page --token your-secret-tokenRead-only endpoints (/healthz, /readyz, /metrics, /version, /v1/cluster/peers) never require authentication.