All Products
Search
Document Center

Key Management Service:EnableKey

Last Updated:Dec 21, 2025

Mengaktifkan kunci untuk mengenkripsi dan mendekripsi data.

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

KeyId

string

Yes

ID unik global dari CMK.

1234abcd-12ab-34cd-56ef-12345678****

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

efb1cbbd-a093-4278-bc03-639dd4fcc207

Contoh

Respons sukses

JSONformat

{
  "RequestId": "efb1cbbd-a093-4278-bc03-639dd4fcc207"
}

Respons error

JSONformat

//xml response


    efb1cbbd-a093-4278-bc03-639dd4fcc207

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.
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.