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-15T16:19:00.094Z

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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-15T16:19:00.094Z.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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.