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 alwayssql#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 inRFC 3339 format, for example2012-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 inRFC 3339 format, for example2012-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.

selfLink

string

The URI of this resource.

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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-30 UTC.