Skip to main content

instances_server_cas

Creates, updates, deletes, gets or lists a instances_server_cas resource.

Overview

Nameinstances_server_cas
TypeResource
Idgoogle.sqladmin.instances_server_cas

Fields

NameDatatypeDescription
activeVersionstring
certsarrayList of server CA certificates for the instance.
kindstringThis is always sql#instancesListServerCas.

Methods

NameAccessible byRequired ParamsDescription
list_server_casSELECTinstance, projectLists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.

SELECT examples

Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.

SELECT
activeVersion,
certs,
kind
FROM google.sqladmin.instances_server_cas
WHERE instance = '{{ instance }}'
AND project = '{{ project }}';