密钥列表

<p class="shortdesc"></p> <section class="section" id="ListKeys__section_tnr_cy3_mlb"><h2 class="doc-tairway">密钥列表:ListKeys</h2> <p class="p"><strong class="ph b">描述</strong></p> <p class="p">返回调用者在调用区域的所有的用户主密钥信息。</p> <p class="p"><strong class="ph b">请求参数</strong></p> <table class="table" id="ListKeys__table_mll_dy3_mlb"><caption></caption><colgroup><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="ListKeys__table_mll_dy3_mlb__entry__1">名称</th> <th class="entry" id="ListKeys__table_mll_dy3_mlb__entry__2">类型</th> <th class="entry" id="ListKeys__table_mll_dy3_mlb__entry__3">是否必需</th> <th class="entry" id="ListKeys__table_mll_dy3_mlb__entry__4">描述</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__1 ">pageSize</td> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__2 ">Integer</td> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__3 ">是</td> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__4 ">每页显示条数。有效值:大于0,小于101,默认为10</td> </tr> <tr class="row"> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__1 ">pageNumber</td> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__2 ">Integer</td> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__3 ">是</td> <td class="entry" headers="ListKeys__table_mll_dy3_mlb__entry__4 ">当前页数。有效值:大于0, 默认值为1</td> </tr> </tbody></table> <p class="p"><strong class="ph b">返回参数</strong></p> <table class="table" id="ListKeys__table_nll_dy3_mlb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="ListKeys__table_nll_dy3_mlb__entry__1">名称</th> <th class="entry" id="ListKeys__table_nll_dy3_mlb__entry__2">类型</th> <th class="entry" id="ListKeys__table_nll_dy3_mlb__entry__3">描述</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__1 ">code</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__2 ">String</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__3 ">返回码,成功返回"SUCCESS"</td> </tr> <tr class="row"> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__1 ">keyId</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__2 ">String</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__3 ">密钥的全局唯一标识符</td> </tr> <tr class="row"> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__1 ">pageNumber</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__2 ">Integer</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__3 ">当前页数</td> </tr> <tr class="row"> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__1 ">pageSize</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__2 ">Integer</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__3 ">每页显示条数</td> </tr> <tr class="row"> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__1 ">totalCount</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__2 ">Long</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__3 ">查询出的总条数</td> </tr> <tr class="row"> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__1 ">requestId</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__2 ">String</td> <td class="entry" headers="ListKeys__table_nll_dy3_mlb__entry__3 ">当前请求Id</td> </tr> </tbody></table> <p class="p"><strong class="ph b">请求示例</strong></p> <pre class="pre codeblock"><code>https:// kms-cn-shanghai.yun.pingan.com/?action=ListKeys &pageNumber=<page number> &pageSize=<page size> &<公共请求参数></code></pre> <p class="p"><strong class="ph b">返回示例</strong></p> <pre class="pre codeblock"><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> </section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询 - 7x24 小时

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

7x24 小时,急速解答

工单支持

解决云产品相关技术问题