ClientTlsSettings constructor

const ClientTlsSettings({
  1. Input<TlsContext>? clientTlsContext,
  2. Input<ClientTlsSettingsMode>? mode,
  3. Input<String>? sni,
  4. Input<List<String>>? subjectAltNames,
})

Creates a new ClientTlsSettings. clientTlsContext Configures the mechanism to obtain client-side security certificates and identity information. This field is only applicable when mode is set to MUTUAL. mode Indicates whether connections to this port should be secured using TLS. The value of this field determines how TLS is enforced. This can be set to one of the following values: DISABLE: Do not setup a TLS connection to the backends. SIMPLE: Originate a TLS connection to the backends. MUTUAL: Secure connections to the backends using mutual TLS by presenting client certificates for authentication. sni SNI string to present to the server during TLS handshake. This field is applicable only when mode is SIMPLE or MUTUAL. subjectAltNames A list of alternate names to verify the subject identity in the certificate.If specified, the proxy will verify that the server certificate's subject alt name matches one of the specified values. This field is applicable only when mode is SIMPLE or MUTUAL.

Implementation

const ClientTlsSettings({
  this.clientTlsContext,
  this.mode,
  this.sni,
  this.subjectAltNames,
});