The OpenAPI schema is the canonical reference: a running service serves
interactive docs at /docs and the raw schema at /openapi.json. This
page is the orientation.
Every endpoint except GET /healthz requires
Authorization: Bearer <service-token>, where the token is one of
SERVICE_TOKENS. See Security for the trust model.
POST /hosts·GET /hosts·GET /hosts/{id}·DELETE /hosts/{id}POST /templates·GET /templates·GET /templates/{id}·DELETE /templates/{id}POST /http-proxies·DELETE /http-proxies/{name}·POST|DELETE /http-proxies/{name}/hosts/{host_id}GET /doctor— read-only dependency diagnosticsGET /healthz— unauthenticated liveness probe
The exchange is a second process, python -m secrets_exchange, on a private
port with no service token. Only the proxy and an issuer inside the deployment
reach it. See Architecture for the flow.
GET /upstreams— the hosts the proxy terminates TLS forGET /authorize— the proxy's question: the header and the real credential for a placeholderPOST /refresh/{host_id}/{service}— an issuer's order: forget the held value and fetch a new one now.200after the fetch, and after the push where the provider holds the value.503withRetry-Afterwhen the issuer gave nothing usable.404for an unknown host or service,409for a static entry. The order carries no body.GET /healthz— liveness probe