pub struct SslConfig {
pub ca_certificate: Option<String>,
pub client_certificate: Option<String>,
pub client_key: Option<String>,
pub ssl_flags: Option<HashMap<String, String>>,
pub type_: Option<String>,
}Expand description
SSL configuration information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ca_certificate: Option<String>Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server’s certificate. The replica will use this certificate to verify it’s connecting to the right host.
client_certificate: Option<String>Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the ‘client_key’ field is mandatory.
client_key: Option<String>Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the ‘client_certificate’ field is mandatory.
ssl_flags: Option<HashMap<String, String>>Optional. SSL flags used for establishing SSL connection to the source database. Only source specific flags are supported. An object containing a list of “key”: “value” pairs. Example: { “server_certificate_hostname”: “server.com”}.
type_: Option<String>Optional. The ssl config type according to ‘client_key’, ‘client_certificate’ and ‘ca_certificate’.