OPAL distributes policy and data updates to Open Policy Agent, Cedar, and similar engines over a PubSub channel as application state changes.
Overview
OPAL (Open Policy Administration Layer) sits above policy engines such as Open Policy Agent and AWS Cedar Agent. It watches for changes to authorization policies and the data those policies rely on, then pushes live updates so agents stay aligned with APIs, databases, git, object storage, or third-party services.
The architecture uses OPAL servers that publish over a lightweight WebSocket PubSub channel. OPAL clients subscribe by topic and fetch data directly from configured sources when updates arrive, keeping each managed policy engine instance current without embedding sync logic in application code.
Documentation and packages target both Python CLI workflows and pre-built container images, including docker-compose playgrounds and a Kubernetes Helm chart. Fetch provider extensions describe how to wire custom data sources into the update pipeline.
OPAL is used in production deployments that manage large fleets of policy engines and frequent policy or data synchronizations. It addresses the gap between decoupled policy languages like Rego and the need for near-real-time authorization context in microservice environments.
Key features
- Realtime policy push
- Live policy data updates
- WebSocket PubSub channel
- OPA and Cedar integration
- Client-server microservice layout
- Docker and Helm deployment
- Custom FetchProviders
- Python CLI packages
Use cases
- Cloud-native OPA fleets
- Live authorization data sync
- Cedar deployments off AWS
- Microservice access control