Skip to main content

Global

Web3 Cloud Key Manager API (1.0.0)

Download OpenAPI specification:Download

Key

CreateMasterKey

Create master key.

Request Body schema: application/json
key_management_type
required
any
Enum: "KEY_MANAGEMENT_TYPE_GCP_KMS_ENVELOPE_ENCRYPTION" "KEY_MANAGEMENT_TYPE_GCP_KMS"
  • KEY_MANAGEMENT_TYPE_GCP_KMS_ENVELOPE_ENCRYPTION: The master key is encrypted with a symmetric key using GCP's KMS and stored in the Key Manager's DB. With this master key, multiple addresses can be generated.
  • KEY_MANAGEMENT_TYPE_GCP_KMS: The master key is created on GCP's KMS. It allows the creation of only one address.

Responses

Request samples

Content type
application/json
{
  • "key_management_type": "KEY_MANAGEMENT_TYPE_GCP_KMS_ENVELOPE_ENCRYPTION"
}

Response samples

Content type
application/json
{
  • "master_key_id": "3f80f049-b3be-4afd-ac46-1901d43232d7"
}