导入托管密码
<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>productName</td>
<td>String</td>
<td>是</td>
<td>产品名称</td>
</tr>
<tr>
<td>productCode</td>
<td>String</td>
<td>是</td>
<td>产品编码</td>
</tr>
<tr>
<td>keychainAccount</td>
<td>String</td>
<td>是</td>
<td>托管的账号名称(如数据库的账号名称)</td>
</tr>
<tr>
<td>keychainPassword</td>
<td>String</td>
<td>是</td>
<td>托管的账号对应的敏感信息</td>
</tr>
<tr>
<td>algorithm</td>
<td>String</td>
<td>是</td>
<td>加密方式RSA\SM2</td>
</tr>
<tr>
<td>description</td>
<td>String</td>
<td>否</td>
<td>托管描述</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>appId</td>
<td>String</td>
<td>应用的唯一识别码,由系统分配</td>
</tr>
<tr>
<td>appKey</td>
<td>String</td>
<td>与appId对应的key</td>
</tr>
<tr>
<td>keychainAccount</td>
<td>String</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.yun.pingan.com/?action=ImportKeychain
&description=<your description>
&productName=<your productName>
&productCode=<your productCode>
&keychainAccount=<your account>
&keychainPassword=<password>
&algorithm=<algorithm>
&<公共请求参数></code></pre>
<p><span style="font-size:14px"><strong>返回示例:</strong></span></p>
<pre>
<code>{
"code": "SUCCESS",
"keychainAccount": "account",
"appId": "appId",
"appKey": "appKey",
"requestId": "f6b6b335-88ad-4124-b6ec-107792fd1a60"
}</code></pre>
<p> </p>
提交成功!非常感谢您的反馈,我们会继续努力做到更好!