密钥列表
<p><span style="font-size:18px"><strong>密钥列表:ListKeys</strong></span></p>
<p><span style="font-size:14px"><strong>描述:</strong></span></p>
<p>返回调用者在调用区域的所有的用户主密钥信息。</p>
<p><span style="font-size:14px"><strong>请求参数:</strong></span></p>
<table border="1" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="background-color:#ededed"><strong>名称</strong></td>
<td style="background-color:#ededed"><strong>类型</strong></td>
<td style="background-color:#ededed"><strong>是否必需</strong></td>
<td style="background-color:#ededed"><strong>描述</strong></td>
</tr>
<tr>
<td>pageSize</td>
<td>Integer</td>
<td>是</td>
<td>每页显示条数。有效值:大于0,小于101,默认为10</td>
</tr>
<tr>
<td>pageNumber</td>
<td>Integer</td>
<td>是</td>
<td>当前页数。有效值:大于0, 默认值为1</td>
</tr>
</tbody>
</table>
<p><span style="font-size:14px"><strong>返回参数:</strong></span></p>
<table border="1" cellpadding="1" cellspacing="1">
<tbody>
<tr>
<td style="background-color:#ededed"><strong>名称</strong></td>
<td style="background-color:#ededed"><strong>类型</strong></td>
<td style="background-color:#ededed"><strong>描述</strong></td>
</tr>
<tr>
<td>code</td>
<td>String</td>
<td>返回码,成功返回"SUCCESS"</td>
</tr>
<tr>
<td>keyId</td>
<td>String</td>
<td>密钥的全局唯一标识符</td>
</tr>
<tr>
<td>pageNumber</td>
<td>Integer</td>
<td>当前页数</td>
</tr>
<tr>
<td>pageSize</td>
<td>Integer</td>
<td>每页显示条数</td>
</tr>
<tr>
<td>totalCount</td>
<td>Long</td>
<td>查询出的总条数</td>
</tr>
<tr>
<td>requestId</td>
<td>String</td>
<td>当前请求Id</td>
</tr>
</tbody>
</table>
<p><span style="font-size:14px"><strong>请求示例:</strong></span></p>
<pre>
<code>https:// kms-cn-shanghai.ocftcloud.com/?action=ListKeys
&pageNumber=<page number>
&pageSize=<page size>
&<公共请求参数></code></pre>
<p><span style="font-size:14px"><strong>返回示例:</strong></span></p>
<pre>
<code>{
"code": "SUCCESS",
"keys": {
"key": [
{
"keyId": "84df0516-51c7-4f24-be03-f6a5d7c23f58"
},
{
"keyId": "08a19976-d039-4469-9a03-af4ff13783fa"
},
{
"keyId": "d82f0bb2-89e7-4d7b-98ce-1546e9ae14d3"
}
]
},
"pageNumber": 1,
"pageSize": 10,
"totalCount": 3,
"requestId": "90fbc80a-c0aa-4655-8d9d-051c786b415e"
}</code></pre>
<p> </p>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!