All Products
Search
Document Center

Key Management Service:DescribeAccountKmsStatus

Last Updated:Jul 29, 2025

Queries the status of Key Management Service (KMS) within your Alibaba Cloud account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object
AccountStatusstring

The status of KMS within your Alibaba cloud account. Valid values:

  • Enabled: KMS is enabled.

  • NotEnabled: KMS is disabled.

  • InDebt: Your account is overdue, and KMS stops providing services.

Note If your Alibaba Cloud account is overdue, top up your account at the earliest opportunity to avoid impacts on your services.
  • Suspended: KMS is suspended.
Enabled
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

3ac84333-d64d-4784-a8bc-997834a7ac6c

Examples

Sample success responses

JSONformat

{
  "AccountStatus": "Enabled",
  "RequestId": "3ac84333-d64d-4784-a8bc-997834a7ac6c"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterThe specified parameter is not valid.An invalid value is specified for the parameter.
403Forbidden.NoPermissionThis operation is forbidden by permission system.You are not authorized to perform this operation.
404InvalidAccessKeyId.NotFoundThe Access Key ID provided does not exist in our records.-

For a list of error codes, visit the Service error codes.