导入托管密码

<p class="shortdesc"></p> <section class="section" id="OBTAINPASSWORDS__section_skj_x2j_mlb"><h2 class="doc-tairway">导入托管密码:ImportKeychain</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="OBTAINPASSWORDS__table_cks_x2j_mlb"><caption></caption><colgroup><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__1">名称</th> <th class="entry" id="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2">类型</th> <th class="entry" id="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3">是否必须</th> <th class="entry" id="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4">描述</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__1 ">productName</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3 ">是</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">产品名称</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__1 ">productCode</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3 ">是</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">产品编码</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__1 ">keychainAccount</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3 ">是</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">托管的账号名称(如数据库的账号名称)</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__1 ">keychainPassword</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3 ">是</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">托管的账号对应的敏感信息</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__1 ">algorithm</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3 ">是</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">加密方式RSA\SM2</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__1 ">description</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3 ">否</td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">托管描述</td> </tr> </tbody></table> <p class="p"><strong class="ph b">返回参数:</strong></p> <table class="table" id="OBTAINPASSWORDS__table_dks_x2j_mlb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__1">名称</th> <th class="entry" id="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__2">类型</th> <th class="entry" id="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__3">描述</th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__1 ">code</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__3 ">返回码,成功返回"SUCCESS"</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__1 ">appId</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__3 ">应用的唯一识别码,由系统分配</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__1 ">appKey</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__3 ">与appId对应的key</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__1 ">keychainAccount</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__3 ">托管的账号名称(如数据库的账号名称)</td> </tr> <tr class="row"> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__1 ">requestId</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__2 ">String</td> <td class="entry" headers="OBTAINPASSWORDS__table_dks_x2j_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=ImportKeychain &description=<your description> &productName=<your productName> &productCode=<your productCode> &keychainAccount=<your account> &keychainPassword=<password> &algorithm=<algorithm> &<公共请求参数></code></pre> <p class="p"><strong class="ph b">返回示例</strong></p> <pre class="pre codeblock"><code>{ "code": "SUCCESS", "keychainAccount": "account", "appId": "appId", "appKey": "appKey", "requestId": "f6b6b335-88ad-4124-b6ec-107792fd1a60" }</code></pre> </section>
以上内容是否解决了您的问题?
请补全提交信息!
咨询·建议

电话咨询

400-151-8800

邮件咨询

cloud@pingan.com

在线客服

工单支持

解决云产品相关技术问题