Menghasilkan kunci data acak dari Key Management Service (KMS) yang digunakan untuk enkripsi HLS di ApsaraVideo VOD.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:GenerateKMSDataKey |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
25818875-5F78-4A*****F6-D7393642CA58 |
| KeyId |
string |
ID kunci master pelanggan (CMK). ID ini harus unik secara global. |
7906979c-8e06-46a2-be2d-68e3ccbc**** |
| CiphertextBlob |
string |
Teks sandi dari kunci data terenkripsi. Ini digunakan sebagai CipherText saat Anda membuat pekerjaan transkoding. |
ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901qOjop4bTS**** |
| Plaintext |
string |
Teks biasa kunci data yang dikodekan dalam Base64. |
QmFzZTY0IGVuY29kZWQgcGxhaW50**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"KeyId": "7906979c-8e06-46a2-be2d-68e3ccbc****",
"CiphertextBlob": "ODZhOWVmZDktM2QxNi00ODk0LWJkNGYtMWZjNDNmM2YyYWJmS7FmDBBQ0BkKsQrtRnidtPwirmDcS0ZuJCU41xxAAWk4Z8qsADfbV0b+i6kQmlvj79dJdGOvtX69Uycs901qOjop4bTS****",
"Plaintext": "QmFzZTY0IGVuY29kZWQgcGxhaW50****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | EntityNotExist.Role | AliyunVODDefaultRole is not authorized by your account. | The AliyunVODDefaultRole does not have permissions to access the resources. Authorize the role based on the documentation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.