Open source authorization server based on Google Zanzibar, for RBAC and ReBAC
open sourceApache-2.0self-hostablefree
Ory Keto is an open source, distributed authorization server based on Google's Zanzibar paper. Applications store relationships between users, groups and objects, and ask Keto's permissions API over HTTP/REST or gRPC whether a subject may perform an action, so one service acts as the policy decision point for every microservice, with RBAC and relationship-based (ReBAC) patterns from the same API. It's written in Go with official SDKs for Node.js, Python, Java, .NET, PHP, Ruby and more. It's part of Ory: the Apache-2.0 server runs on your own infrastructure, the Ory Enterprise License adds commercial support, SLAs and CVE patching, and Ory Network runs it as a managed service.
Problems it solves
- fine-grained permissions like Google Docs sharing for my app
- a self-hosted Zanzibar-style authorization service
- check whether a user can access a resource from any of my microservices
- relationship-based access control with groups and nested permissions
Features
- Zanzibar-based relationship tuples
- RBAC and ReBAC from one permissions API
- HTTP/REST and gRPC APIs
- official SDKs for many languages
- managed on Ory Network, or self-hosted
Capabilities
| Has an API | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Ory Keto does.
- OpenFGA Fine-grained authorization
- SpiceDB Open-source, Google Zanzibar-inspired database for fine-grained authorization
- Open Policy Agent An open source, general-purpose policy engine that unifies policy enforcement across the stack
- Ory Headless, cloud-native identity: authentication, OAuth2/OIDC and permissions
- Permit.io Runtime access control for the AI era