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.
Fields§
§enabled: bool
Enabled 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).
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