55 lines
1.8 KiB
YAML
55 lines
1.8 KiB
YAML
$schema: "http://json-schema.org/draft-06/schema#"
|
|
|
|
title: datastream v1 ServerAndClientVerification export schema
|
|
description: A gcloud export/import command YAML validation schema.
|
|
type: object
|
|
required:
|
|
- caCertificate
|
|
- clientCertificate
|
|
additionalProperties: false
|
|
properties:
|
|
COMMENT:
|
|
type: object
|
|
description: User specified info ignored by gcloud import.
|
|
additionalProperties: false
|
|
properties:
|
|
template-id:
|
|
type: string
|
|
region:
|
|
type: string
|
|
description:
|
|
type: string
|
|
date:
|
|
type: string
|
|
version:
|
|
type: string
|
|
UNKNOWN:
|
|
type: array
|
|
description: Unknown API fields that cannot be imported.
|
|
items:
|
|
type: string
|
|
caCertificate:
|
|
description: Input only. PEM-encoded server root CA certificate.
|
|
type: string
|
|
clientCertificate:
|
|
description: |-
|
|
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.
|
|
type: string
|
|
clientKey:
|
|
description: |-
|
|
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.
|
|
type: string
|
|
serverCertificateHostname:
|
|
description: |-
|
|
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.
|
|
type: string
|