pub struct ConsulGatewayTlsConfig {
pub tls_min_version: Option<String>,
pub tls_max_version: Option<String>,
pub cipher_suites: Option<Vec<String>>,
pub sds: Option<ConsulGatewayTlssdsConfig>,
pub enabled: bool,
}
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§
§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).
enabled: bool
Enabled indicates whether TLS is enabled for the configuration entry
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