Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SqlServerSslConfig::EncryptionAndServerValidation.
Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#ca_certificate
def ca_certificate() -> ::String
Returns
- (::String) — Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
#ca_certificate=
def ca_certificate=(value) -> ::String
Parameter
- value (::String) — Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
Returns
- (::String) — Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.
#server_certificate_hostname
def server_certificate_hostname() -> ::String
Returns
- (::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.
#server_certificate_hostname=
def server_certificate_hostname=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.