OPA input format for Http API requests #61
-
In a use-case where OPA is being used as authorization provider from Envoy, what is the format with which OPA receives input from Envoy? From postman I am calling my endpoint by passing the header Request example:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The input format depends on the configured http_filters:
- name: envoy.ext_authz
typed_config:
'@type': type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
transport_api_version: V3 📚 See the documentation of the Input Document For multiple headers, Envoy will include them in the
(I've included that because of the extra info from the issue you've filed here: open-policy-agent/opa#3985) |
Beta Was this translation helpful? Give feedback.
The input format depends on the configured
transport_api_version
in Envoy 👇📚 See the documentation of the Input Document
For multiple headers, Envoy will include them in the
AttributeContext
separated by commas (source):