POST /v1/projects/{project}/instances/{instance}/createEphemeral
Changed onGenerates 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.
Request
- Base URLhttps://sqladmin.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/sqlservice.adminAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/sqlservice.admin
Path parameters
Project ID of the Cloud SQL project.
Cloud SQL instance ID. This does not include the project ID.
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Optional. Region of the Cloud SQL instance.
Request body
SslCerts create ephemeral certificate request.
Access token to include in the signed certificate.
PEM encoded public key to include in the signed certificate.
Response
Successful response
SslCerts Resource
PEM representation.
Serial number, as extracted from the certificate.
User supplied name. Constrained to [a-zA-Z.-_ ]+.
The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z
The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.
Name of the database instance.
This is always sql#sslCert.
The URI of this resource.
Sha1 Fingerprint.
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/sqlservice.adminwas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info