v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1375137252.2 KB
sslCerts

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.

post/v1/projects/{project}/instances/{instance}/createEphemeral

Path parameters

projectstring required

Project ID of the Cloud SQL project.

instancestring required

Cloud SQL instance ID. This does not include the project ID.

Request body

public_keystring

PEM encoded public key to include in the signed certificate.

access_tokenstring

Access token to include in the signed certificate.

Response

Successful response