SslCerts
class SslCerts extends Resource (View source)
The "sslCerts" collection of methods.
Typical usage is:
$sqladminService = new Google\Service\SQLAdmin(...);
$sslCerts = $sqladminService->sslCerts;
Methods
Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database. (sslCerts.createEphemeral)
Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. (sslCerts.delete)
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. (sslCerts.get)
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. (sslCerts.insert)
Lists all of the current SSL certificates for the instance.
Details
SslCert
createEphemeral(string $project, string $instance, SslCertsCreateEphemeralRequest $postBody, array $optParams = [])
Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database. (sslCerts.createEphemeral)
Operation
delete(string $project, string $instance, string $sha1Fingerprint, array $optParams = [])
Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. (sslCerts.delete)
SslCert
get(string $project, string $instance, string $sha1Fingerprint, array $optParams = [])
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. (sslCerts.get)
SslCertsInsertResponse
insert(string $project, string $instance, SslCertsInsertRequest $postBody, array $optParams = [])
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. (sslCerts.insert)
SslCertsListResponse
listSslCerts(string $project, string $instance, array $optParams = [])
Lists all of the current SSL certificates for the instance.
(sslCerts.listSslCerts)