查询主密钥

最近更新时间:2018-10-22 17:40:49

DescribeKeys(查询用户主Key)

Request Parameters(请求参数)

KeyId.N

  • 客户主KEY的ID
  • 类型:String
  • 是否可缺省: 是
  • 缺省值:查询整个地域的KEY列表

Response Elements(返回值)

RequestId

  • 请求ID
  • 类型: String

KeySet

  • KEY的信息
  • 类型: Key List

Examples(举例)

Sample Request(请求)

http://kkms.api.ksyun.com?Action=DescribeKeys&Version=2016-03-04

Sample Response(返回)

<response>
    <RequestId>5b9e060f-87bb-494b-af62-f3a493033923</RequestId>
    <KeySet>
        <item>
            <KeyId>aj0p6hf4-mcd3-pej3-v9i9-rq85h4a2dojs</KeyId>
            <KeyName>test</KeyName>
            <CreateTime>2018-10-09 20:15:39</CreateTime>
            <Description></Description>
            <KeyState>Disabled</KeyState>
            <KeyUsage>EncryptDecrypt</KeyUsage>
            <Origin>kms</Origin>
        </item>
        <item>
            <KeyId>rdmdt08v-qumh-20dd-t45k-7h8so1bqintm</KeyId>
            <KeyName>1</KeyName>
            <CreateTime>2018-10-11 20:44:10</CreateTime>
            <Description></Description>
            <KeyState>Enabled</KeyState>
            <KeyUsage>EncryptDecrypt</KeyUsage>
            <Origin>kms</Origin>
        </item>
    </KeySet>
</response>

金山云,开启您的云计算之旅

免费注册