Enables a KMS instance.
Operation description
-
For details about the access policy required for a Resource Access Management (RAM) user or RAM role to call this API operation, see Access control.
-
Only software key management instances can be enabled. Hardware key management instances are not supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kms:ConnectKmsInstance |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| KmsInstanceId |
string |
Yes |
The ID of the KMS instance to enable. |
kst-phzz64f722a1buamw0**** |
| VpcId |
string |
Yes |
The ID of the virtual private cloud (VPC) for the KMS instance. |
vpc-bp19z7cwmltad5dff**** |
| ZoneIds |
string |
Yes |
Sets two zones for the KMS instance. Dual-zone load balancing improves service availability and disaster recovery capabilities. |
cn-hangzhou-k,cn-hangzhou-j |
| VSwitchIds |
string |
Yes |
Sets a vSwitch for the dual-zone deployment. The vSwitch must have at least one available IP address. |
vsw-bp1i512amda6d10a0**** |
| KMProvider |
string |
Yes |
The provider of the KMS instance. Currently, only Aliyun is supported. |
Aliyun |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response message. |
||
| RequestId |
string |
The ID of the request. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues. |
d3eca5c8-a856-4347-8eb6-e1898c3fda2e |
Examples
Success response
JSON format
{
"RequestId": "d3eca5c8-a856-4347-8eb6-e1898c3fda2e"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.