Instances: listServerCas

Requires authorization

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.

Request

HTTP request

GET https://www.googleapis.com/sql/v1beta4/projects/project/instances/instance/listServerCas

Parameters

Parameter name Value Description
Path parameters
instance string Cloud SQL instance ID. This does not include the project ID.
project string Project ID of the project that contains the instance.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/sqlservice.admin

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "sql#instancesListServerCas",
  "certs": [
    sslCerts Resource
  ],
  "activeVersion": string
}
Property name Value Description Notes
kind string This is always sql#instancesListServerCas.
certs[] list List of server CA certificates for the instance.
activeVersion string
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud SQL for MySQL