Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EncryptionAndServerValidation

import type { EncryptionAndServerValidation } from "https://googleapis.deno.dev/v1/datastream:v1.ts";

Message to represent the option where Datastream will enforce encryption and authenticate server identity. ca_certificate must be set if user selects this option.

interface EncryptionAndServerValidation {
caCertificate?: string;
serverCertificateHostname?: string;
}

§Properties

§
caCertificate?: string
[src]

Optional. Input only. PEM-encoded certificate of the CA that signed the source database server's certificate.

§
serverCertificateHostname?: string
[src]

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.