Method: ekmConnections.create

Full name: projects.locations.ekmConnections.create

Creates a new EkmConnection in a given Project and Location.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the location associated with the EkmConnection, in the format projects/*/locations/*.

Authorization requires the following IAM permission on the specified resource parent:

  • cloudkms.ekmConnections.create

Query parameters

Parameters
ekmConnectionId

string

Required. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}.

Request body

The request body contains an instance of EkmConnection.

Response body

If successful, the response body contains a newly created instance of EkmConnection.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloudkms
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.