pub struct ConsulGatewayTlsConfig {
pub enabled: bool,
pub tls_min_version: Option<String>,
pub tls_max_version: Option<String>,
pub cipher_suites: Option<Vec<String>>,
pub sds: Option<ConsulGatewayTlssdsConfig>,
}Expand description
ConsulGatewayTLSConfig is used to configure TLS for a gateway. Both ConsulIngressConfigEntry and ConsulIngressService use this struct. For more details, consult the Consul documentation: https://developer.hashicorp.com/consul/docs/connect/config-entries/ingress-gateway#listeners-services-tls
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§enabled: boolEnabled indicates whether TLS is enabled for the configuration entry
tls_min_version: Option<String>TLSMinVersion specifies the minimum TLS version supported for gateway listeners.
tls_max_version: Option<String>TLSMaxVersion specifies the maxmimum TLS version supported for gateway listeners.
cipher_suites: Option<Vec<String>>CipherSuites specifies a list of cipher suites that gateway listeners support when negotiating connections using TLS 1.2 or older.
sds: Option<ConsulGatewayTlssdsConfig>SDS specifies parameters that configure the listener to load TLS certificates from an external Secrets Discovery Service (SDS).
Implementations§
Source§impl ConsulGatewayTlsConfig
impl ConsulGatewayTlsConfig
pub fn builder() -> ConsulGatewayTlsConfigBuilder
Trait Implementations§
Source§impl Clone for ConsulGatewayTlsConfig
impl Clone for ConsulGatewayTlsConfig
Source§fn clone(&self) -> ConsulGatewayTlsConfig
fn clone(&self) -> ConsulGatewayTlsConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more