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

Changes

No recorded changes to this endpoint across all 1 revision of this API.