Skip to content

Zero-Trust Edge Proxy

Security starts at the edge. All inbound traffic is strictly evaluated by the Traefik-based Auth Gateway acting as our zero-trust entrypoint.

Strict Ingress Validation

Requests are immediately validated against Keycloak OIDC tokens and precise Cerbos permission policies.

  • Traefik forwards every request to the Auth Gateway before routing it anywhere.
  • Identity and policy are checked before the request reaches a module.
  • Routes that match no policy fail closed.
What happens to a requestillustrative
  1. Traefik
  2. Auth Gateway
  3. Cerbos
  4. Your module
Valid token200 OK
the module receives the request with trusted headers
No token401 Unauthorized
the request stops at the Auth Gateway
Not allowed403 Forbidden
Cerbos policy denies the action
Unknown route403 Forbidden
no matching policy: unknown routes fail closed

Internal Isolation

Internal services do not expose public endpoints. They completely rely on the edge proxy for authentication checks.

  • Internal services are reachable only through the edge.
  • Client-supplied auth headers are always overwritten by the gateway.
  • A module can trust the headers it receives.
Reaching an internal serviceillustrative
  1. Internet
  2. Edge proxy
  3. Internal service
Call the service directlyblocked
internal services expose no public endpoint
Call it through the edge200 OK
the edge proxy checks identity first

Ready to see how it fits together?

See where the Auth Gateway sits in the request path, in front of every module.