Skip to content

Forward Auth Middleware

Appears in

  • .Values.middlewares.$name.data

address

Define the address

Keymiddlewares.$name.data.address
Typestring
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
address: some-address

authResponseHeadersRegex

Define the authResponseHeadersRegex

Keymiddlewares.$name.data.authResponseHeadersRegex
Typestring
Required
Helm tpl
Default-

Example

middlewares:
middleware-name:
data:
authResponseHeadersRegex: some-regex

trustForwardHeader

Define the trustForwardHeader

Keymiddlewares.$name.data.trustForwardHeader
Typebool
Required
Helm tpl
Defaultfalse

Example

middlewares:
middleware-name:
data:
trustForwardHeader: true

authResponseHeaders

Define the authResponseHeaders

Keymiddlewares.$name.data.authResponseHeaders
Typelist of string
Required
Helm tpl
Default[]

Example

middlewares:
middleware-name:
data:
authResponseHeaders:
- some-header

authRequestHeaders

Define the authRequestHeaders

Keymiddlewares.$name.data.authRequestHeaders
Typelist of string
Required
Helm tpl
Default[]

Example

middlewares:
middleware-name:
data:
authRequestHeaders:
- some-header

tls

Define the tls

Keymiddlewares.$name.data.tls
Typemap
Required
Helm tpl
Default{}

Example

middlewares:
middleware-name:
data:
tls: {}

tls.insecureSkipVerify

Define the tls.insecureSkipVerify

Keymiddlewares.$name.data.tls.insecureSkipVerify
Typebool
Required
Helm tpl
Defaultfalse

Example

middlewares:
middleware-name:
data:
tls:
insecureSkipVerify: true

Full Examples

middlewares:
middleware-name:
enabled: true
type: forward-auth
data:
address: some-address
authResponseHeadersRegex: some-regex
trustForwardHeader: true
authResponseHeaders:
- some-header
authRequestHeaders:
- some-header
tls:
insecureSkipVerify: true