Skip to content

Cerbos

Self-hosted authorization service that checks access rules written as YAML policies

Permissive (OSI) · Apache-2.0 EU-based

Listed by , founder & editor

79

Health

Thriving

Overview

Stars

4,669

Last commit

yesterday

Nov 2026

Repository age

5 years

since Mar 2021

Latest version

v0.58.0

Nov 2026

Contributors

–

7 active in 90 days

Releases

11

last 12 months

Language

Go

Cerbos is an authorization layer for applications. You describe who can do what in YAML policies, and your app asks the Cerbos service whether a request is allowed. The service is called the Policy Decision Point. It is stateless and written in Go.

Policies cover principals (users, services or bots), actions and resources. You start with role-based rules and add conditions for attribute-based control, plus derived roles and principal-specific overrides. Policies can live on disk, in cloud object stores, in git repos or in supported databases. Two APIs do the work: CheckResources answers whether a principal can access a resource, and PlanResources lists which resources a principal can access. SDKs are available for many languages.

You can run it as a Kubernetes service or sidecar, as a systemd service or as an AWS Lambda function. Cerbos Hub is an optional hosted control plane for policy testing, distribution and playgrounds, with a free tier and paid plans from 25 USD per month. The core is Apache-2.0 licensed.

Who it's for

Backend teams outgrowing hard-coded permission checks

Rules move out of application code into versioned YAML policies.

Skip if: Your app only needs a few fixed roles that a simple check handles.

Platform teams on Kubernetes

It runs as a service or sidecar and policies deploy through git workflows.

Skip if: You want a full identity provider with login and user management.

Companies replacing a hosted authorization service

You self-host the decision point and keep policies in your own repo.

Skip if: You prefer a fully managed service with no component to run.

The problem it solves

Permission logic scattered through application code is hard to audit and change. Cerbos pulls those rules into policy files evaluated by one service. Your app asks it for a decision on each request.

Strengths

  • Policies are plain YAML, managed through git
  • Supports RBAC with attribute-based conditions
  • Runs on Kubernetes, systemd or AWS Lambda
  • Ten releases in the past year
  • Apache-2.0 licensed

Trade-offs

  • It handles authorization only, not authentication
  • You must call it from your app through an SDK or API
  • Some workflow features need the hosted Cerbos Hub

Self-host Cerbos

Self-hostable
Yes
Hosted plan
From $25/month · pricing

In the community

Frequently asked questions

Is Cerbos free?

The Apache-2.0 licensed policy decision point is free to self-host. The hosted Cerbos Hub has a free sign-up and paid plans from 25 USD per month.

Can I self-host it?

Yes. You can run it on Kubernetes, as a systemd service or as an AWS Lambda function.

Where are policies stored?

On disk, in cloud object stores, in git repos or in supported databases.

What does the API offer?

CheckResources decides access to a resource. PlanResources lists accessible resources of a kind.

Similar tools in Identity and access management

Hanko

Identity and access management

Self-hosted authentication API with passkeys, SSO and web components for app developers

9.1k 1k 4 days ago Thriving AGPL-3.0

Pocket ID

Identity and access management

Self-hosted OpenID Connect provider that signs users in with passkeys only

10k 364 today Thriving BSD-2-Clause

Authentik

Identity and access management

Self-hosted identity provider with SSO over SAML, OIDC, LDAP and RADIUS

26k 2.1k today Thriving MIT

Replaces KeycloakOkta

keto

Identity and access management

5.4k 396 4 months ago Dormant Apache-2.0

OPAL (Permit.io)

Identity and access management

5.5k 308 14 days ago Slowing Apache-2.0