Skip to content
FossShelf
Home / Categories / For Security Teams

Cerbos

Move access control out of app code into testable YAML policies

Replaces Plainid, Axiomatics, Permit Io

4.66K starsApache-2.0reviewed 25 Mar 2025last commit 14 Nov 2026
Screenshot of Cerbos

Who it's for

Multi-tenant SaaS teams

Use Cerbos when tenants, roles, and resource-level rules change often and need clear policy ownership.

Your app only has one or two static roles and no compliance pressure.

Platform teams standardizing permissions

Use Cerbos to provide a shared authorization layer across services without forcing every team to invent permission checks.

Each service has unrelated authorization rules and no shared policy governance.

Compliance-heavy engineering teams

Use Cerbos when access decisions need version history, tests, and explainable policy files.

A managed identity platform already covers your authorization needs with acceptable audit output.

The problem

Authorization logic gets dangerous when every service implements permissions differently. Route handlers, database filters, and business logic accumulate scattered checks that are hard to audit and harder to change. Enterprise customers then ask for new roles, attributes, or compliance evidence, and each policy change becomes an application release risk.

How it works

Policy decision point service

Cerbos runs as a PDP that receives principal, resource, and action data, then returns allow or deny decisions through APIs.

YAML policy-as-code

Access rules live in structured YAML policies that can be stored on disk, in Git, cloud object stores, or supported databases.

RBAC and ABAC support

Cerbos supports role-based rules and attribute-based conditions, allowing teams to model simple roles and more granular contextual access checks.

Deployment flexibility

Kubernetes service, sidecar, systemd service, and AWS Lambda deployment paths let teams place the PDP near the applications it protects.

Features

  • Policy decision point service
  • YAML policy-as-code
  • RBAC and ABAC support
  • Deployment flexibility

Recommended for this setup

Strengths

  • Centralizes authorization decisions: Cerbos gives applications one policy decision interface instead of scattering permission logic throughout codebases.
  • Works with existing identity providers: Cerbos handles authorization, not authentication, so it can sit behind Auth0, Cognito, Okta, custom JWTs, or internal identity systems.
  • Good GitOps fit: Policy files can move through Git review and automated tests, which makes access control changes easier to audit.

Trade-offs

  • Adds an authorization service to operate: Teams must deploy, monitor, and version the PDP and policy store. Inline checks may be faster for small products with simple permissions.
  • Requires policy modeling discipline: Cerbos helps centralize policy, but teams still need to model resources, actions, roles, and attributes carefully to avoid confusing rules.

Tech stack

Languages
Go, Shell, Go Template, Hurl, Just, Makefile, Smarty, JavaScript, PLpgSQL, Nix, HTML
Frameworks
—
Databases
—
Tooling
Kubernetes

FAQ

What does Cerbos do?

Cerbos evaluates authorization policies outside application code and returns access decisions for principals, resources, and actions.

Does Cerbos replace authentication?

No. Cerbos handles authorization and can work with identity providers that supply user or service principal data.

Can Cerbos be self-hosted?

Yes. Cerbos supports self-hosted PDP deployment through Kubernetes, sidecar, systemd, and serverless options.

Similar tools

More in Security Teams