如何使用DescribeKeyPairs查询一个或多个密钥对


本文摘自PHP中文网,作者坏嘻嘻,侵删。

本文在介绍如何使用DescribeKeyPairs查询一个或多个密钥对的基础上,重点探讨了其具体步骤,本文内容紧凑,希望大家可以有所收获。

DescribeKeyPairs

请求参数

微信截图_20180925161053.png

返回参数

微信截图_20180925161100.png

示例

请求示例

1

2

3

4

5

6

7

https://ecs.aliyuncs.com/?Action=DescribeKeyPairs

&RegionId=cn-qingdao

&KeyPairFingerPrint=xxxxxxxxxx

&KeyPairName=test

&PageNumber=1

&PageSize=20

&<公共请求参数>

返回示例

XML格式

1

2

3

4

5

6

7

8

9

10

11

12

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

JSON格式

1

2

3

4

5

6

7

8

9

10

11

12

{

    "PageNumber": 1,

    "PageSize": 2,

    "TotalCount": 1,

    "KeyPairs": {

        "KeyPair":[{

            "KeyPairName": "test",

            "KeyPairFingerPrint": "xxxxxxxxxx"

        }]

    }

    "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"

}

错误码

以下为本接口特有的错误码。更多错误码,请访问 API错误中心。微信截图_20180925161108.png

以上就是如何使用DescribeKeyPairs查询一个或多个密钥对的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

Linux重启服务命令

Linux挂载失败如何解决

什么是LinuxLinux怎么使用?

解决Linux echo命令以及Linux echo命令提示权限不够的方法

Linux中使用useradd命令添加用户后无法登录

Linux 端口是什么

Linux中如何对mysql优化的详细介绍

Linux查看系统进程

Linux的命令怎么用

查看日志的Linux命令是什么?

更多相关阅读请进入《Linux》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...