SslCerts: createEphemeral

Requires authorization

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.


HTTP request



Parameter name Value Description
Path parameters
instance string Cloud SQL instance ID. This does not include the project ID.
project string Project ID of the Cloud SQL project.


This request requires authorization with at least one of the following scopes (read more about authentication and authorization).


Request body

In the request body, supply data with the following structure:

  "public_key": string
Property name Value Description Notes
public_key string PEM encoded public key to include in the signed certificate.


If successful, this method returns a SslCerts resource in the response body.

หน้านี้มีประโยชน์ไหม โปรดแสดงความคิดเห็น