导入托管密码

<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>返回码,成功返回&quot;SUCCESS&quot;</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 &amp;description=&lt;your description&gt; &amp;productName=&lt;your productName&gt; &amp;productCode=&lt;your productCode&gt; &amp;keychainAccount=&lt;your account&gt; &amp;keychainPassword=&lt;password&gt; &amp;algorithm=&lt;algorithm&gt; &amp;&lt;公共请求参数&gt;</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>&nbsp;</p>
以上内容是否解决了您的问题?
请补全提交信息!
联系我们

电话咨询

400-151-8800

邮件咨询

fincloud@ocft.com

在线客服

工单支持

解决云产品相关技术问题