System Architecture
Bedrock is a modular authorization engine with three main layers:Core Components
BedrockEngine
The central authorization engine that:- Evaluates permission checks (
evaluate()) and lists effective permissions - Composes grants across the scope chain per
permissionMode - Applies overrides, resource policies, ownership, and the resource-hierarchy fallback
api-management), not the engine.
BedrockStore
The storage interface (BedrockStore) the engine reads through:
REST API
Optional HTTP layer for language-agnostic access:Data Model
Evaluation Flow
Whenengine.evaluate() is called:
ID Format
All Bedrock entities use prefixed UUIDv7 IDs:Deployment Options
Embedded Library
Use Bedrock directly in your application:api-management, no console); setup is script/API-driven.
Managed Service (api-management)
Runapi-management—the full multi-tenant control plane (REST API, tenants/workspaces/projects, Kinde-backed identity, plus Redis and the Angular console). Consumers call it over HTTP:
Next Steps
Quickstart
Set up Bedrock in your application
Core Concepts
Deep dive into authorization concepts