Skip to main content

instances_server_certificate

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

Overview

Nameinstances_server_certificate
TypeResource
Idgoogle.sqladmin.instances_server_certificate

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
add_server_certificateINSERTinstance, projectAdd a new trusted server certificate version for the specified instance using Certificate Authority Service (CAS) server CA. Required to prepare for a certificate rotation. If a server certificate version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one certificate version waiting to be rotated in. For instances not using CAS server CA, please use AddServerCa instead.

INSERT example

Use the following StackQL query and manifest file to create a new instances_server_certificate resource.

/*+ create */
INSERT INTO google.sqladmin.instances_server_certificate (
instance,
project
)
SELECT
'{{ instance }}',
'{{ project }}'
;