All Products
Search
Document Center

Cloud Phone:DescribeKeyPairs

Last Updated:Jul 25, 2025

Queries one or more key pairs.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
KeyPairIdsarrayNo

The IDs of the ADB key pairs.

stringNo

The ID of the ADB key pair.

kp-6v2q33ae4tw3*****
KeyPairNamestringNo

The name of the ADB key pair.

testKeyPairName
MaxResultsintegerNo

The maximum number of entries per page. Valid values: 1 to 100. Default value: 10.

10
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. If the parameter is left empty, the data is queried from the first entry.

AAAAAYRHtOLVQzCYj17y+OP7LZQBUVVbi0GTu8g5****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

NextTokenstring

A pagination token. It can be used in the next request to retrieve a new page of results. If NextToken is empty, no next page exists.

FFbc8N4E1iOlcSxC+8boa0HHH2LKWbggYUinyrZWvtS1oTrMYCg1HuMLGuftj0****
Dataarray<object>

The objects that are returned.

dataobject

The object that is returned.

KeyPairIdstring

The ID of the ADB key pair.

kp-6v2q33ae4tw3a****
KeyPairNamestring

The name of the ADB key pair.

testKeyPairName
GmtCreatedstring

The time when the ADB key pair was created.

2022-10-11T08:53:32Z
TotalCountinteger

The total number of entries returned.

10
RequestIdstring

The ID of the request.

565FB06A-AE04-5AD0-8A32-5BA92CA5****

Examples

Sample success responses

JSONformat

{
  "NextToken": "FFbc8N4E1iOlcSxC+8boa0HHH2LKWbggYUinyrZWvtS1oTrMYCg1HuMLGuftj0****",
  "Data": [
    {
      "KeyPairId": "kp-6v2q33ae4tw3a****",
      "KeyPairName": "testKeyPairName",
      "GmtCreated": "2022-10-11T08:53:32Z"
    }
  ],
  "TotalCount": 10,
  "RequestId": "565FB06A-AE04-5AD0-8A32-5BA92CA5****"
}

Error codes

For a list of error codes, visit the Service error codes.