qmetrics.net

SpiceDB

Zanzibar-inspired fine-grained authorization database

SpiceDB screenshot

SpiceDB stores authorization relationships and answers permission checks at scale. Teams define a schema, write relationships, and query via APIs or client libraries.

Overview

SpiceDB is an open-source authorization database modeled on Google Zanzibar. Developers define a schema, store relationships, and call the service from applications to decide whether a subject may perform an action on a resource. It also supports reverse queries such as listing what a subject can do or who can access a resource.

The design stays independent of authentication: SpiceDB handles authorization only and works with any identity provider. It often runs as a shared service across microservices or product suites. Caveated relationships blend attribute-style and relationship-based access control patterns.

Client libraries, the zed CLI, gRPC, and HTTP APIs drive schema management and checks. A playground can be hosted or used online for examples and tests. Schema validation can run in real time or in CI/CD pipelines.

Binary releases cover Linux, macOS, and Windows on AMD64 and ARM64, with package repositories for Debian, RPM, and Homebrew. Container images publish to ghcr.io. Backends include Google Cloud Spanner, CockroachDB, MySQL, and PostgreSQL. Production deployment commonly uses Kubernetes, including operator-based setups.

Key features

  • Schema-driven permission model
  • CheckPermission and reverse queries
  • Per-request consistency tuning
  • Caveated relationships
  • gRPC and HTTP APIs
  • zed CLI and client libraries
  • Multiple database backends
  • Container and binary deployment

Use cases

  • Central authorization for microservices
  • Answer can-subject-X-do-Y-on-Z checks
  • Model ReBAC and ABAC-style rules
  • Replace ad-hoc ACL logic in apps
  • Shared permissions across product suites

Does the same job as

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

Tags

Compare SpiceDB

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.

★ 38.1k⟳ 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.

★ 32.1k⟳ yesterdayGPL-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.

★ 30.9k⟳ todayMIT
Open Source Alternative to:Stytch

Infisical

Open-source security infrastructure for secrets, certs, and access

Infisical is a security infrastructure platform where teams manage application secrets, certificates, privileged access, and AI agent credentials in one place.

★ 30.8k⟳ todayMIT · open core
Secrets ManagementSelf-hostable
Open Source Alternative to:Keeper

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.

★ 29.8k⟳ todayApache-2.0
Open Source Alternative to:Amazon CognitoAuth0+2

NextAuth

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.

★ 28.4k⟳ 4 months agoISC