v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134680139.0 KB
projects

Creates a new KMS config.

post/v1/{+parent}/kmsConfigs

Path parameters

parentstring required

Required. Value for parent.

Query parameters

kmsConfigIdstring

Required. Id of the requesting KmsConfig. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.

Request body

stateDetailsstring

Output only. State details of the KmsConfig.

createTimestring google-datetime

Output only. Create time of the KmsConfig.

labelsobject

Labels as key value pairs

cryptoKeyNamestring

Required. Customer-managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}

serviceAccountstring

Output only. The Service account which will have access to the customer provided encryption key.

namestring

Identifier. Name of the KmsConfig. Format: projects/{project}/locations/{location}/kmsConfigs/{kms_config}

instructionsstring

Output only. Instructions to provide the access to the customer provided encryption key.

state'STATE_UNSPECIFIED' | 'READY' | 'CREATING' | 'DELETING' | 'UPDATING' | 'IN_USE' | 'ERROR' | 'KEY_CHECK_PENDING' | 'KEY_NOT_REACHABLE' | 'DISABLING' | 'DISABLED' | 'MIGRATING'

Output only. State of the KmsConfig.

descriptionstring

Description of the KmsConfig.

Response

Successful response