Domain name for API request: kms.tencentcloudapi.com.
This API is used to enable white-box keys in batches.
A maximum of 200 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter. The value used for this API: EnableWhiteBoxKeys. |
Version | Yes | String | Common parameter. The value used for this API: 2019-01-18. |
Region | Yes | String | Common parameter. For more information, please see the list of regions supported by the product. This API only supports: ap-beijing, ap-guangzhou, ap-hongkong, ap-shanghai |
KeyIds.N | Yes | Array of String | List of globally unique white-box key IDs. Note: you should make sure that all provided KeyId values are in valid format, unique, and actually exist. Up to 50 ones are allowed. |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://kms.tencentcloudapi.com/?Action=EnableWhiteBoxKeys
&KeyIds.0=23e80852-1e38-11e9-b129-5cb9019b4b01
&KeyIds.1=23e80852-1e38-11e9-b129-5cb9019b4b02
&<Common request parameters>
{
"Response": {
"RequestId": "850bf779-2249-4995-8c55-b3966daf0a8c"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InternalError | Internal error. |
InvalidParameter | Invalid parameter. |
InvalidParameterValue.DuplicatedKeyId | Duplicate KeyId . |
InvalidParameterValue.InvalidKeyId | Invalid KeyId . |
ResourceNotFound | The resource does not exist. |
ResourceUnavailable.NotPurchased | The white-box key service has not been activated. |
UnauthorizedOperation | Unauthorized operation. |
Was this page helpful?