gogol-sqladmin-0.0.1: Google Cloud SQL Administration SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.SQL.SSLCerts.CreateEphemeral

Contents

Description

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.

See: Cloud SQL Administration API Reference for sql.sslCerts.createEphemeral.

Synopsis

REST Resource

type SSLCertsCreateEphemeralResource = "sql" :> ("v1beta4" :> ("projects" :> (Capture "project" Text :> ("instances" :> (Capture "instance" Text :> ("createEphemeral" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` SSLCertsCreateEphemeralRequest :> Post `[JSON]` SSLCert)))))))) Source

A resource alias for sql.sslCerts.createEphemeral method which the SSLCertsCreateEphemeral request conforms to.

Creating a Request

sslCertsCreateEphemeral Source

Creates a value of SSLCertsCreateEphemeral with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SSLCertsCreateEphemeral Source

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.

See: sslCertsCreateEphemeral smart constructor.

Request Lenses

scceProject :: Lens' SSLCertsCreateEphemeral Text Source

Project ID of the Cloud SQL project.

scceInstance :: Lens' SSLCertsCreateEphemeral Text Source

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