Use SPIFFE IDs as Cerbos principals to make fine-grained authorization decisions for service-to-service communication in zero-trust environments.
Use cryptographic SPIFFE IDs as principals in Cerbos policies for service-to-service authorization
Authorize every service call based on the caller's verified identity, trust domain, and service path
Layer workload identity with end-user identity for policies that consider both who is calling and on whose behalf
SPIFFE handles authentication, confirming who a user is. Cerbos handles authorization, deciding what that user can do. Together they give you a complete access control stack without coupling identity logic to business rules.
Cerbos lets you write fine-grained, context-aware authorization policies in human-readable YAML. Policies are decoupled from application code so product and security teams can update permissions without a release cycle.
Because Cerbos runs as a stateless Policy Decision Point (PDP) next to your application, authorization checks are sub-millisecond and scale horizontally with your infrastructure.
The calling service's SPIFFE ID is passed as the principal identifier in Cerbos authorization checks. Policies can match on the full SPIFFE ID or extract the trust domain and service path to make fine-grained decisions about which services can access which resources.
Cerbos does not perform SPIFFE certificate verification directly. mTLS termination and SVID verification happen at the transport layer, typically via SPIRE or an Envoy sidecar. Cerbos receives the verified SPIFFE ID from your application or service mesh and uses it for policy evaluation.
Yes. A common pattern is to pass both the SPIFFE ID of the calling service and the end-user identity as principal attributes. Policies can then authorize based on which service is making the call and on whose behalf.



What is Cerbos?
Cerbos is an end-to-end enterprise authorization software for Zero Trust environments and AI-powered systems. It enforces fine-grained, contextual, and continuous authorization across apps, APIs, AI agents, MCP servers, services, and workloads.
Cerbos consists of an open-source Policy Decision Point, Enforcement Point integrations, and a centrally managed Policy Administration Plane (Cerbos Hub) that coordinates unified policy-based authorization across your architecture. Enforce least privilege & maintain full visibility into access decisions with Cerbos authorization.