- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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 |
Required. The resource name of the location associated with the |
Query parameters
| Parameters | |
|---|---|
singleTenantHsmInstanceId |
Optional. It must be unique within a location and match the regular expression |
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/cloudkmshttps://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.