ssl_certs
Overview
Name | ssl_certs |
Type | Resource |
Id | google.sqladmin.ssl_certs |
Fields
Name | Datatype | Description |
---|---|---|
instance | string | Name of the database instance. |
createTime | string | The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z |
selfLink | string | The URI of this resource. |
cert | string | PEM representation. |
certSerialNumber | string | Serial number, as extracted from the certificate. |
kind | string | This is always sql#sslCert . |
sha1Fingerprint | string | Sha1 Fingerprint. |
commonName | string | User supplied name. Constrained to [a-zA-Z.-_ ]+. |
expirationTime | string | The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z . |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | instance, project, sha1Fingerprint | Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation. |
list | SELECT | instance, project | Lists all of the current SSL certificates for the instance. |
insert | INSERT | instance, project | Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. |
delete | DELETE | instance, project, sha1Fingerprint | Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. |