Method: singleTenantHsmInstances.create

Full name: projects.locations.singleTenantHsmInstances.create

Creates a new SingleTenantHsmInstance in a given Project and Location. User must create a RegisterTwoFactorAuthKeys proposal with this single-tenant HSM instance to finish setup of the instance.

HTTP request


POST https://cloudkms.googleapis.com/v1/{parent=projects/*/locations/*}/singleTenantHsmInstances

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

Query parameters

Parameters
singleTenantHsmInstanceId

string

Optional. 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 SingleTenantHsmInstance.

Response body

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

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.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • cloudkms.singleTenantHsmInstances.create

For more information, see the IAM documentation.