Skip to main content

Parameters

See plugin common configurations for configuration options available to all plugins.

  • headers

    object

    required


    Key-value pairs of consumer labels to be attached to request headers, where key is the request header name, such as X-Consumer-Role, and the value is a reference to the custome label key, such as $role. Note that the value should always start with a dollar sign ($).

    If a referenced consumer value is not configured on the consumer, the corresponding header will not be attached to the request.