Enabling a Version of a Google Cloud Key
Use the post /v1/cckm/google/keys/{id}/versions/{versionID}/enable
API to enable a particular version of a Google Cloud key with the given ID. The state of a key version changes from DISABLED
to ENABLED
.
Syntax
Here, {id}
represents the resource ID of the Google Cloud key and {versionID}
represents the resource ID of the key version on the CipherTrust Manager.
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
id | string | ID of the parent Google Cloud key. |
versionID | string | ID of the key version to be enabled. |
Example Request
Example Response
The sample output displays that the version with the ID e2f79e23-749d-4579-bef1-5777a4651e9e
of a Google Cloud key with the ID ecc73bfb-7605-4263-abb8-84fe431d35fb
has been ENABLED
.
To disable an ENABLED
version, run the /v1/cckm/google/keys/{id}/versions/{versionID}/disable
API. Refer to Disabling a Version of a Google Cloud Key.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.