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

ServerAndClientVerification

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

Message represents the option where Datastream will enforce the encryption and authenticate the server identity as well as the client identity. ca_certificate, client_certificate and client_key must be set if user selects this option.

interface ServerAndClientVerification {
caCertificate?: string;
clientCertificate?: string;
clientKey?: string;
}

§Properties

§
caCertificate?: string
[src]

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

§
clientCertificate?: string
[src]

Required. Input only. PEM-encoded certificate used by the source database to authenticate the client identity (i.e., the Datastream's identity). This certificate is signed by either a root certificate trusted by the server or one or more intermediate certificates (which is stored with the leaf certificate) to link the this certificate to the trusted root certificate.

§
clientKey?: string
[src]

Optional. Input only. PEM-encoded private key associated with the client certificate. This value will be used during the SSL/TLS handshake, allowing the PostgreSQL server to authenticate the client's identity, i.e. identity of the Datastream.