All Products
Search
Document Center

Key Management Service:OpenKmsService

Last Updated:Aug 21, 2025

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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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.