Inject cert metadata into HTTP headers and define header namev3.1+

Injects the client certificate in an HTTP header with the name X-Forwarded-Client-Cert.

Prerequisites

Set up the plugin

Add this section to your declarative configuration file:

_format_version: "3.0"
plugins:
  - name: tls-metadata-headers
    config:
      inject_client_cert_details: true
      client_cert_header_name: X-Forwarded-Client-Cert
Copied to clipboard!

Did this doc help?

Something wrong?

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!