REST Resource: sslCerts

Resource: SslCert

SslCerts Resource

JSON representation
{
 "kind": string,
 "certSerialNumber": string,
 "cert": string,
 "createTime": string,
 "commonName": string,
 "expirationTime": string,
 "sha1Fingerprint": string,
 "instance": string,
 "selfLink": string
}
Fields
kind

string

This is always sql#sslCert.

certSerialNumber

string

Serial number, as extracted from the certificate.

cert

string

PEM representation.

createTime

string (Timestamp format)

The time when the certificate was created in RFC 3339 format, for example 2012年11月15日T16:19:00.094Z

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014年10月02日T15:01:23Z", "2014年10月02日T15:01:23.045123456Z" or "2014年10月02日T15:01:23+05:30".

commonName

string

User supplied name. Constrained to [a-zA-Z.-_ ]+.

expirationTime

string (Timestamp format)

The time when the certificate expires in RFC 3339 format, for example 2012年11月15日T16:19:00.094Z.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014年10月02日T15:01:23Z", "2014年10月02日T15:01:23.045123456Z" or "2014年10月02日T15:01:23+05:30".

sha1Fingerprint

string

Sha1 Fingerprint.

instance

string

Name of the database instance.

Methods

createEphemeral

Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.

delete

Deletes the SSL certificate.

get

Retrieves a particular SSL certificate.

insert

Creates an SSL certificate and returns it along with the private key and server certificate authority.

list

Lists all of the current SSL certificates for the instance.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月23日 UTC.