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

SslConfig

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

SSL configuration information.

interface SslConfig {
caCertificate?: string;
clientCertificate?: string;
clientKey?: string;
type?: "SSL_TYPE_UNSPECIFIED" | "SERVER_ONLY" | "SERVER_CLIENT";
}

§Properties

§
caCertificate?: string
[src]

Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host.

§
clientCertificate?: string
[src]

Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the 'client_key' field is mandatory.

§
clientKey?: string
[src]

Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory.

§
type?: "SSL_TYPE_UNSPECIFIED" | "SERVER_ONLY" | "SERVER_CLIENT"
[src]

Optional. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'.