All Products
Search
Document Center

Key Management Service:DescribeAccountKmsStatus

Last Updated:Jun 10, 2026

Mengkueri status Key Management Service (KMS) dalam akun Alibaba Cloud Anda.

Deskripsi operasi

For more information about the access policy required by a RAM user or RAM role to call this API, see Resource Access Management.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Tidak ada parameter yang diperlukan.

Elemen respons

Element

Type

Description

Example

object

AccountStatus

string

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.

Catatan

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

RequestId

string

The request ID.

3ac84333-d64d-4784-a8bc-997834a7ac6c

Contoh

Respons sukses

JSONformat

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

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is not valid. An invalid value is specified for the parameter.
403 Forbidden.NoPermission This operation is forbidden by permission system.
404 InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.