config: add option for tls renogotiation

This commit is contained in:
Caleb Doxsey 2022-11-28 12:20:01 -07:00
parent fa0ba60aee
commit 15d69424d9
5 changed files with 604 additions and 530 deletions

View file

@ -119,6 +119,9 @@ type Policy struct {
TLSDownstreamClientCA string `mapstructure:"tls_downstream_client_ca" yaml:"tls_downstream_client_ca,omitempty"`
TLSDownstreamClientCAFile string `mapstructure:"tls_downstream_client_ca_file" yaml:"tls_downstream_client_ca_file,omitempty"`
// TLSUpstreamAllowRenegotiation allows server-initiated TLS renegotiation.
TLSUpstreamAllowRenegotiation bool `mapstructure:"tls_upstream_allow_renegotiation" yaml:"allow_renegotiation,omitempty"`
// SetAuthorizationHeader sets the authorization request header based on the user's identity. Supported modes are
// `pass_through`, `access_token` and `id_token`.
SetAuthorizationHeader string `mapstructure:"set_authorization_header" yaml:"set_authorization_header,omitempty"`