LDAP directories store user identities, group memberships, and organizational structure. Cerbos uses LDAP identity data to make fine-grained authorization decisions based on directory attributes, groups, and organizational units.
Use LDAP user attributes like department, title, and location as inputs to Cerbos authorization policies
Reference LDAP group memberships and organizational units in policies for hierarchical access patterns
Works with Active Directory, OpenLDAP, FreeIPA, 389 DS, and any LDAPv3-compatible directory
LDAP 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.
Your application authenticates the user against your LDAP directory and extracts their attributes, group memberships, and organizational unit. These are passed to Cerbos as principal attributes, so your policies can reference LDAP groups, OUs, and any directory attribute.
Cerbos works with any LDAPv3-compatible directory, including Active Directory, OpenLDAP, 389 Directory Server, FreeIPA, and Oracle Internet Directory. Your application handles LDAP authentication and passes the identity data to Cerbos.
Yes. Pass the user's group DNs or resolved group names to Cerbos as principal attributes. Policies can match on specific groups, group prefixes, or organizational units to model hierarchical access patterns.



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.