How to query one or more key pairs using DescribeKeyPairs

坏嘻嘻
Release: 2018-09-25 16:14:15
Original
2243 people have browsed it

This article introduces how to use DescribeKeyPairs to query one or more key pairs, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something.

DescribeKeyPairs

Request Parameters

How to query one or more key pairs using DescribeKeyPairs

Return parameters

How to query one or more key pairs using DescribeKeyPairs

##Example

Request example

https://ecs.aliyuncs.com/?Action=DescribeKeyPairs
&RegionId=cn-qingdao
&KeyPairFingerPrint=xxxxxxxxxx
&KeyPairName=test
&PageNumber=1
&PageSize=20
&<公共请求参数>
Copy after login

Return example

XML format

<DescribeKeyPairsResponse>
    <PageNumber>1</PageNumber>
    <PageSize>2</PageSize>
    <TotalCount>1</TotalCount>
    <KeyPairs>
        <KeyPair>
            <KeyPairName>test</KeyPairName >
            <KeyPairFingerPrint>xxxxxxxxxx</KeyPairFingerPrint>
        </KeyPair>
    </KeyPairs>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</DescribeKeyPairsResponse>
Copy after login

JSON Format

{
    "PageNumber": 1,
    "PageSize": 2,
    "TotalCount": 1,
    "KeyPairs": {
        "KeyPair":[{
            "KeyPairName": "test",
            "KeyPairFingerPrint": "xxxxxxxxxx"
        }]
    }
    "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Copy after login

Error code

The following are the error codes unique to this interface. For more error codes, please visit the API Error Center.

How to query one or more key pairs using DescribeKeyPairs

The above is the detailed content of How to query one or more key pairs using DescribeKeyPairs. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template