所属服务

keypair

Action

DescribeKeyPair

Version

2018-02-08

Method

GET

描述

查询秘钥对信息

请求参数

参数名称说明参数类型是否必填
KeyName秘钥名称string
ActionDescribeKeyPairstring
Version2018-02-08string

返回参数

返回参数被覆盖

错误码

错误码(Code)错误提示(Message)http status code说明
Success处理成功200null
ResourceNotFound请求资源不存在400null
MissingParameter参数缺失400null

请求示例

https://open.cn-east-1.163yun.com/keypair?Action=DescribeKeyPair&Version=2018-02-08&KeyName=KeyPairTest9

返回示例

{
    "KeyName":"KeyPairTest9",
    "Fingerprint":"04:5c:1b:1d:67:ec:05:9d:8d:f7:8a:a7:45:17:92:fd",
    "Message":"处理成功",
    "RequestId":"5c26b733-d3b6-47f5-baab-0ff8ffaa2474",
    "PublicKey":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCMhJG0v5WynS2moB/Q+cUJskSTAP3ZawDhvUPL0HDwGK9EcBJtOTx4W0HESoa4fT/D8MrZiIgNK1yZyBxWR0NSCWqj3vZfB1NLoPWgdIZWbxNsyDnlfgKDBQ+O5HJRjeha6ktWLLZnwLcDrz2UEX8C9qhUbUAcoUQui1mywTqEGg1I5uyDiEXGS+CDX9R/38K1yDj3Nhhr0cYIL2RkGvX0Iv4gaEzwDhiSYBuxo7Yg5AihVXq8i+yLuFWnos7C151ld1TgKaWotTpDK5rAiPPfTMIKa/FUT+XnUmg26Je4+nwlBGrTFO/3hWSzlpjCi8QY3VuJsr81ibgzqcpPh3Uj web_develop02@163.com on @ cloudcomb
",
    "CreateTime":"2018-08-21T02:01:46Z",
    "Id":3634,
    "Code":"Success"
}