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

ServerVerification

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

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

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

§Properties

§
caCertificate?: string
[src]

Required. Input only. PEM-encoded server root CA certificate.

§
serverCertificateHostname?: string
[src]

Optional. The hostname mentioned in the Subject or SAN extension of the server certificate. If this field is not provided, the hostname in the server certificate is not validated.