Skip to content

ApiKey support for securing the Cerbos API? #1626

Answered by charithe
anywhere88 asked this question in Q&A
Discussion options

You must be logged in to vote

You're correct. There's no builtin way to restrict access to the check API because it doesn't expose any sensitive data. If you want to do it, one way to do it is to make Cerbos listen on 127.0.0.1 or a Unix domain socket and configuring a proxy that enforces the access restrictions. We have an example of configuring Ghostunnel on a Kubernetes environment here: https://docs.cerbos.dev/cerbos/latest/deployment/k8s-sidecar.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anywhere88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants