Skip to content
Discussion options

You must be logged in to vote

I'm afraid those docs are for the system policy that can be used to protect OPA's REST API, https://www.openpolicyagent.org/docs/latest/security/#authentication-and-authorization.

For queries, i.e. requests to /v1/data/some/package/rule, request headers are not available. If you want something to be available there, you need to provide it as input.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kotyara85
Comment options

@anderseknert
Comment options

Answer selected by peteroneilljr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants