All Products
Search
Document Center

Key Management Service:ListClientKeys

Last Updated:Jun 10, 2026

Mengkueri semua kunci klien dalam AAP.

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

AapName

string

No

Nama titik akses aplikasi (AAP).

aap_test

Elemen respons

Element

Type

Description

Example

object

RequestId

string

The request ID.

2312e45f-b2fa-4c34-ad94-3eca50932916

ClientKeys

array<object>

A list of client keys.

object

A list of client keys.

ClientKeyId

string

The ID of the client key.

KAAP.66abf237-63f6-4625-b8cf-47e1086e****

CreateTime

string

The time when the client key was created.

2023-08-31T09:14:38Z

PublicKeyData

string

The public key of the client key.

-----BEGIN CERTIFICATE-----\nMIIDcjCCAlqgAwIBAgIQT/sAVRxwYp54mrw****-----END CERTIFICATE-----

KeyAlgorithm

string

The private key algorithm of the client key.

RSA_2048

NotBefore

string

The beginning of the validity period of the client key.

2023-08-31T17:14:33Z

NotAfter

string

The end of the validity period of the client key.

2028-08-31T17:14:33Z

KeyOrigin

string

The provider of the client key.

Currently, only KMS is supported. The value is fixed as KMS_PROVIDED.

KMS_PROVIDED

AapName

string

The name of the AAP.

aap_test

Contoh

Respons sukses

JSONformat

{
  "RequestId": "2312e45f-b2fa-4c34-ad94-3eca50932916",
  "ClientKeys": [
    {
      "ClientKeyId": "KAAP.66abf237-63f6-4625-b8cf-47e1086e****",
      "CreateTime": "2023-08-31T09:14:38Z",
      "PublicKeyData": "-----BEGIN CERTIFICATE-----\\nMIIDcjCCAlqgAwIBAgIQT/sAVRxwYp54mrw****-----END CERTIFICATE-----",
      "KeyAlgorithm": "RSA_2048",
      "NotBefore": "2023-08-31T17:14:33Z",
      "NotAfter": "2028-08-31T17:14:33Z",
      "KeyOrigin": "KMS_PROVIDED",
      "AapName": "aap_test"
    }
  ]
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.