pub struct EncryptionAndServerValidation {
pub ca_certificate: Option<String>,
pub server_certificate_hostname: Option<String>,
}Expand description
Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option.
This type is not used in any activity, and only used as part of another schema.
Fields§
§ca_certificate: Option<String>Optional. Input only. PEM-encoded certificate of the CA that signed the source database server’s certificate.
server_certificate_hostname: Option<String>Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. This field is used for bypassing the hostname validation while verifying server certificate. This is required for scenarios where the host name that datastream connects to is different from the certificate’s subject. This specifically happens for private connectivity. It could also happen when the customer provides a public IP in connection profile but the same is not present in the server certificate.
Trait Implementations§
Source§impl Clone for EncryptionAndServerValidation
impl Clone for EncryptionAndServerValidation
Source§fn clone(&self) -> EncryptionAndServerValidation
fn clone(&self) -> EncryptionAndServerValidation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more