qmetrics.net

Cerbos

Policy-based authorization decision service for applications

Cerbos screenshot

Cerbos is an authorization layer where you define YAML policies and call APIs to decide whether principals can perform actions on resources across apps, gateways, and workloads.

Overview

Cerbos separates access control from application code by acting as a Policy Decision Point. You describe resources, actions, and principals in YAML policies, store them on disk, in object stores, git repositories, or supported databases, and evaluate decisions through HTTP APIs at runtime.

The CheckResources API answers whether a given principal may access a specific resource, while PlanResources lists which resources of a kind a principal may use. Client SDKs and query-plan adapters integrate these calls from application code, and policies can combine RBAC with attribute-based conditions, derived roles, and principal-specific overrides.

The PDP runs as a stateless process in Kubernetes, as a systemd service, in containers, or on AWS Lambda. Cerbos Hub is an optional cloud control plane for authoring, testing, and distributing policies to self-hosted PDP fleets, including playgrounds and embedded PDP options for edge or in-browser checks.

The platform targets enterprise software and AI agent scenarios where identities include users, services, bots, and agents, with audit logging of allow and deny outcomes tied to policy versions for compliance-oriented workflows.

Key features

  • YAML policy definitions for resources
  • CheckResources and PlanResources APIs
  • RBAC with ABAC-style conditions
  • Derived roles and principal policies
  • Client SDKs for major languages
  • Kubernetes, container, and systemd deploys
  • Optional Cerbos Hub policy distribution
  • Git-ops friendly policy storage

Use cases

  • Centralize app permission checks behind one PDP
  • Fine-grained access for multi-tenant SaaS
  • Authorize AI agents and MCP workloads
  • Replace scattered authorization if-statements
  • Audit runtime allow and deny decisions

Does the same job as

Cerbos doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare Cerbos

Similar software

Keycloak

Identity and access management for applications and services

Keycloak adds authentication and single sign-on to applications so they do not store or verify users themselves. It supports standard protocols and central admin tools.

  • Single sign-on across applications
  • OpenID Connect, OAuth 2.0, and SAML
  • Social login and identity brokering
JavaDockerDetails →
★ 38.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

JumpServer

Open-source bastion host for privileged access

JumpServer is a privileged access management platform that unifies secure access to SSH, RDP, Kubernetes, databases, and web assets.

  • SSH and RDP session access
  • Kubernetes pod connections
  • Database connector via web
PythonWeb, Linux, DockerDetails →
★ 32.1k⟳ todayGPL-3.0
Open Source Alternative to:BeyondTrust

Better Auth

Composable TypeScript authentication and authorization framework

Better Auth is a framework-agnostic authentication and authorization framework for TypeScript. You configure it in code and extend it with plugins for flows like social login, organizations, and enterprise SSO.

  • TypeScript auth configuration in code
  • Email and password sessions
  • Social OAuth providers
TypeScriptDetails →
★ 31k⟳ todayMIT
Open Source Alternative to:Amazon CognitoAuth0+3

Authelia

Self-hosted SSO portal with multi-factor authentication

Authentication and authorization server that sits in front of reverse proxies. Provides a web portal for login, OpenID Connect, and granular access rules with several second-factor methods.

  • OpenID Connect and OAuth 2.0 provider
  • WebAuthn passkeys and FIDO2 keys
  • TOTP and Duo push second factors
GoWeb, DockerDetails →
★ 29.8k⟳ 2 days agoApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+7

Auth.js

Web authentication libraries for JavaScript frameworks

Auth.js (NextAuth) adds sign-in, sessions, and OAuth to modern JavaScript apps. Packages target Next.js, SvelteKit, Express, Qwik, and other runtimes.

  • OAuth 2.0 and OIDC providers
  • Email and passwordless sign-in
  • WebAuthn passkey support
TypeScriptDetails →
★ 28.4k⟳ 4 months agoISC
Open Source Alternative to:Amazon CognitoAuth0+4

authentik

Self-hosted identity provider for SSO protocols

authentik centralizes authentication with SAML, OAuth2, OIDC, LDAP, RADIUS, and related flows. It targets small labs through production clusters you deploy yourself.

  • SAML and OAuth2/OIDC
  • LDAP and RADIUS
  • Application proxy
PythonDockerDetails →
★ 26.6k⟳ todayMIT · open core
Open Source Alternative to:Amazon CognitoAuth0+7