/mTLS Header Plugin

mTLS Header Plugin

3
v0.0.2

mTLS Header Plugin

Build Status Build Status

This plugin allows to set custom headers from http.Request and client certificate (if provided) using text/template.

Configuration

Example: Given a client certificate with the common name "mtls_client" the following configuration will insert this http-header: "X-Client-CN: CN=mtls_client".

testData:
headers:
X-Client-CN: 'CN=[[.Cert.Subject.CommonName]]'
encodeUrl: false