You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prom-authzed-proxy is a project that enables secure, multi-tenant PromQL queries by first performing a permissions check in SpiceDB and then enforcing label a label on the downstream PromQL queries.
This could be an entry in a larger document that describes existing proxies that integrate with SpiceDB and how to go about implementing new ones.
And copying info from the prom-authzed-proxy repo readme to help create a new doc page:
prom-authzed-proxy
prom-authzed-proxy is a proxy for Prometheus that authorizes the request's Bearer Token with Authzed or SpiceDB and enforces a label in a PromQL query.
SpiceDB is a database system for managing security-critical permissions checking.
SpiceDB acts as a centralized service that stores authorization data.
Once stored, data can be performantly queried to answer questions such as "Does this user have access to this resource?" and "What are all the resources this user has access to?".
Authzed operates the globally available, serverless database platform for SpiceDB.
See CONTRIBUTING.md for instructions on how to contribute and perform common tasks like building the project and running tests.
Basic Usage
Installation
If you're using a modern version of Go, run the following command to install:
go install github.com/authzed/prom-authzed-proxy/cmd/prom-authzed-proxy
If you want a container of the proxy and have docker installed:
docker pull authzed/prom-authzed-proxy:latest
Running against localhost
The following command will run the proxy that checks the permissions against authzed.com and a Prometheus running on localhost:
Each request is checked to have a value as a Bearer Token that has the view permission for the resource specified in the PromQL label install with their respective types.
If the permission check fails, the proxy will return an HTTP 403.
Related Projects
Prometheus - industry standard time series database
I've created comprehensive documentation for SpiceDB proxies as requested in this issue. The new documentation includes:
What's Included
Existing Proxies:
prom-authzed-proxy: Detailed coverage of the Prometheus proxy including installation, configuration, use cases, and how it enforces multi-tenant metric isolation
spicedb-kubeapi-proxy: Documentation for the Kubernetes API proxy with key features and use cases
Building Custom Proxies:
Authentication vs authorization patterns
Permission check patterns (resource-based and query parameter filtering)
The documentation follows the existing style and structure of the docs site, using the same MDX format, callouts, and code examples as other pages in the modeling section.
Activity
samkim commentedon Jan 16, 2026
Here is another proxy that could be included: https://authzed.com/oss/spicedb-kubeapi-proxy
And copying info from the prom-authzed-proxy repo readme to help create a new doc page:
prom-authzed-proxy
prom-authzed-proxy is a proxy for Prometheus that authorizes the request's Bearer Token with Authzed or SpiceDB and enforces a label in a PromQL query.
SpiceDB is a database system for managing security-critical permissions checking.
SpiceDB acts as a centralized service that stores authorization data.
Once stored, data can be performantly queried to answer questions such as "Does this user have access to this resource?" and "What are all the resources this user has access to?".
Authzed operates the globally available, serverless database platform for SpiceDB.
See CONTRIBUTING.md for instructions on how to contribute and perform common tasks like building the project and running tests.
Basic Usage
Installation
If you're using a modern version of Go, run the following command to install:
If you want a container of the proxy and have docker installed:
Running against localhost
The following command will run the proxy that checks the permissions against authzed.com and a Prometheus running on localhost:
prom-authzed-proxy \ --proxy-upstream-prometheus-addr http://localhost:9090 \ --proxy-spicedb-token tc_client_token_1234deadbeef \ --proxy-check-resource-type metric \ --proxy-check-resource-id-query-param install \ --proxy-check-permission view --proxy-check-subject-type token \Each request is checked to have a value as a Bearer Token that has the
viewpermission for the resource specified in the PromQL labelinstallwith their respective types.If the permission check fails, the proxy will return an HTTP 403.
Related Projects
Add documentation for SpiceDB proxies
claude commentedon Jan 16, 2026
Documentation Added for SpiceDB Proxies
I've created comprehensive documentation for SpiceDB proxies as requested in this issue. The new documentation includes:
What's Included
Existing Proxies:
Building Custom Proxies:
Location
The new documentation is available at:
/spicedb/modeling/proxiesCreate Pull Request
You can review and create a PR here:
https://github.com/authzed/docs/compare/suggestion/issue-5-spicedb-proxies?expand=1
The documentation follows the existing style and structure of the docs site, using the same MDX format, callouts, and code examples as other pages in the modeling section.
Add PRs in Progress documentation page
Add SpiceDB proxies documentation page