Queries the status of Key Management Service (KMS) within your Alibaba Cloud account.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeAccountKmsStatus |
The operation that you want to perform. Set the value to DescribeAccountKmsStatus. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
AccountStatus | String | Enabled |
The status of KMS within your Alibaba cloud account. Valid values:
|
RequestId | String | 3ac84333-d64d-4784-a8bc-997834a7ac6c |
The ID of the request, which is used to locate and troubleshoot issues. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DescribeAccountKmsStatus
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeAccountKmsStatusResponse>
<AccountStatus>Enabled</AccountStatus>
<RequestId>3ac84333-d64d-4784-a8bc-997834a7ac6c</RequestId>
</DescribeAccountKmsStatusResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"AccountStatus" : "Enabled",
"RequestId" : "3ac84333-d64d-4784-a8bc-997834a7ac6c"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden.NoPermission | This operation is forbidden by permission system. | You are not authorized to perform this operation. |
For a list of error codes, visit the API Error Center.