Concepts
- Client credentials
-
Used to establish an authenticated connection to Cerbos Hub using a client ID and a secret. Client credentials are scoped to either a deployment or a policy store, and can be read-only or read and write. They can be created from the Client credentials tab on any deployment or policy store detail page.
- Deployment
-
A deployment is a specific configuration of policy stores (such as ‘production’ or ‘staging’) that can be connected to a set of PDPs. Each new change to the underlying store(s) results in a new policy build that’s automatically delivered to the PDPs if the tests are successful.
- Organization
-
An Organization serves as the top-level entity in Cerbos Hub and provides centralized control over billing, access control, and Workspace management. Typically a business would have one Organization and a number of Workspaces underneath it.
- Policy bundle
-
An encrypted file containing optimized binary representations of policies. When policies change in a policy store, Cerbos Hub validates the policies, runs any tests, and produces a policy bundle that is pushed to all connected PDPs assigned to that deployment. Bundles are versioned, allowing you to track exactly which policies were in effect at any point in time.
- Policy Decision Point (PDP)
-
A stateless component that evaluates authorization requests against policies. The PDP does not call external services or fetch data on its own — the calling application must provide all relevant context (principal attributes, resource attributes, and any auxiliary data such as JWT tokens) in each request. Cerbos Hub supports two types of PDPs:
- Service PDP
-
The open source Cerbos PDP instances that you run in your own infrastructure. Cerbos Hub pushes pre-compiled policy bundles to service PDPs, ensuring all your data remains within your network perimeter while reducing the overhead of policy updates. See Service PDPs.
- Embedded PDP
-
A WebAssembly module that executes authorization logic locally within an application, without network calls to a Cerbos server. Embedded PDPs are suited for browser applications, edge functions, mobile apps, and other environments where latency or connectivity constraints make server-side authorization impractical. Each deployment can define multiple ePDP rules with independent policy filtering, authentication requirements, and IP allowlists. See Embedded PDPs.
- Policy playground
-
A browser-based policy editor to quickly prototype, test, and collaborate on Cerbos policies. Features include execution traces for debugging, a permissions matrix view for visualizing access patterns, and real-time collaborative editing. You can create playgrounds from scratch, from templates, or from existing policy stores. See Playgrounds.
- Policy store
-
A versioned, cloud-based storage container for Cerbos policies. A policy store can be either linked to a supported git provider for automatic mirroring or managed manually using the Cerbos Hub user interface, Cerbos Hub SDKs or the
cerbosctlutility. Multiple stores can be connected to a single deployment, making it easy to manage policies by teams or tenants or any other desired level of organization and combine them all at deployment time to distribute to PDPs. - Synapse
-
A data enrichment and integration layer that sits between callers and the PDP. It assembles the identity, resource, and relationship attributes that policies require, fetching them from external systems at decision time. It can also expose authorization endpoints for infrastructure systems such as API gateways and data platforms through configurable route extensions. See Synapse.
- Workspace
-
A Workspace encompasses a set of users, policy stores, deployments, and playgrounds to help organize your work by teams, departments, tenants, or any other desired form of separating responsibilities.
- ePDP rule
-
A configuration within a deployment that defines how embedded PDP bundles are built and served. Each rule specifies policy filtering criteria (resources, actions, scopes, roles, versions), authentication requirements, and IP allowlists. A deployment can have multiple ePDP rules for different clients or use cases. See ePDP rules.
Multi-tenancy patterns
Cerbos Hub supports several approaches for managing authorization across multiple tenants.
Scoped policies
Use scoped policies to define tenant-specific authorization rules within a single policy store. Each tenant is assigned a scope (such as tenant-acme, tenant-globex), and policies can override or extend base rules at any level in the scope hierarchy.
For service PDPs, the requesting application passes the tenant’s scope in each authorization check. For embedded PDPs, dynamic scope filtering delivers only the policies relevant to a specific tenant, reducing bundle size and preventing cross-tenant policy exposure.
Multiple policy stores
For organizations that need stronger isolation between tenants, create a separate policy store per tenant or tenant group. Each store is independently versioned and can be managed by different teams. Stores are combined in a deployment, which builds a unified policy bundle and pushes it to all connected PDPs.
CI/CD pipeline
Changes to policies follow a git-based workflow:
-
A policy change is pushed to the connected git repository, or uploaded via the Hub API or SDKs
-
Cerbos Hub detects the change, validates policy syntax, and runs all tests
-
If tests pass, a new policy bundle is built and pushed to all connected PDPs within seconds
-
If tests fail, the build is blocked and the previous bundle remains active
For dynamic policy management — such as operators changing tenant policies at runtime — use the Cerbos Hub SDKs or the cerbosctl CLI to programmatically update policy stores without requiring direct git access.