All Products
Search
Document Center

Cloud Phone:ImportKeyPair

Last Updated:Jun 10, 2026

Mengimpor kunci publik pasangan kunci Android Debug Bridge (ADB).

Deskripsi operasi

To avoid authorization errors that could cause ADB connection failures, you must import the public key of an ADB key pair.

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

KeyPairName

string

Yes

Nama pasangan kunci ADB.

TestKeyPairName

PublicKeyBody

string

Yes

Kunci publik pasangan kunci ADB.

ABC1234567*****

Elemen respons

Element

Type

Description

Example

object

The response parameters.

Data

object

The object that is returned.

KeyPairId

string

The ID of the ADB key pair.

kp-6v2q33ae4tw3*****

KeyPairName

string

The name of the ADB key pair.

TestKeyPairName

GmtCreated

string

The time when the ADB key pair was created.

2023-03-05T10:29:22Z

RequestId

string

The ID of the request.

69BCBBE4-FCF2-59B8-AD9D-531EB422****

Contoh

Respons sukses

JSONformat

{
  "Data": {
    "KeyPairId": "kp-6v2q33ae4tw3*****",
    "KeyPairName": "TestKeyPairName",
    "GmtCreated": "2023-03-05T10:29:22Z"
  },
  "RequestId": "69BCBBE4-FCF2-59B8-AD9D-531EB422****"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.