Activates Key Management Service (KMS) for your Alibaba Cloud account.
Operation description
-
For more information about the access policies that a RAM user or RAM role needs to call this OpenAPI, see Resource Access Management.
-
KMS is a paid service. For more information about billing, see Billing.
-
You can activate the service for an Alibaba Cloud account only once.
-
Make sure that your Alibaba Cloud account has completed real-name verification.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
3455b9b4-95c1-419d-b310-db6a53b09a39 |
Examples
Success response
JSON format
{
"RequestId": "3455b9b4-95c1-419d-b310-db6a53b09a39"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CreateLXOrderFailed | Create order failed. | |
| 400 | Forbidden.NoRealNameAuthentication | Real name authentication is needed. | You have not passed real name authentication. |
| 400 | Forbidden.Opened | Your kms service has been opened. | You have activated Key Management Service. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.