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;
sslFlags?: {
[key: string]: string;
}
;
type?:
| "SSL_TYPE_UNSPECIFIED"
| "SERVER_ONLY"
| "SERVER_CLIENT"
| "REQUIRED"
| "NONE";
}

§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.

§
sslFlags?: {
[key: string]: string;
}
[src]

Optional. SSL flags used for establishing SSL connection to the source database. Only source specific flags are supported. An object containing a list of "key": "value" pairs. Example: { "server_certificate_hostname": "server.com"}.

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

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