Enables a Key Management Service (KMS) instance.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| KmsInstanceId | string | Yes | The ID of the KMS instance that you want to enable. | kst-phzz64f722a1buamw0**** |
| VpcId | string | Yes | The ID of the virtual private cloud (VPC) that is associated with the KMS instance. | vpc-bp19z7cwmltad5dff**** |
| ZoneIds | string | Yes | The two zones for the KMS instance. Dual-zone deployment improves service availability and disaster recovery capabilities. | cn-hangzhou-k,cn-hangzhou-j |
| VSwitchIds | string | Yes | The vSwitch in the two zones. The vSwitch must have at least one available IP address. | vsw-bp1i512amda6d10a0**** |
| KMProvider | string | Yes | The provider of the KMS instance. Set the value to Aliyun. | Aliyun |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "d3eca5c8-a856-4347-8eb6-e1898c3fda2e"
}Error codes
For a list of error codes, visit the Service error codes.
