ImportKeychain

<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">Description</strong></p> <p class="p">Importing the information of the password to be managed. </p> <p class="p"><strong class="ph b">Request Parameters</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">Name </th> <th class="entry" id="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__2">Type </th> <th class="entry" id="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__3">Necessary or Not </th> <th class="entry" id="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4">Description </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 ">Yes </td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">Name of the product. </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 ">Yes </td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">Code of the product. </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 ">Yes </td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">Name of the account to be managed (for example, the name of a database account). </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 ">Yes </td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">Sensitive data of the account to be managed. </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 ">Yes </td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">Encryption algorithms: RSA and 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 ">No </td> <td class="entry" headers="OBTAINPASSWORDS__table_cks_x2j_mlb__entry__4 ">Description of management. </td> </tr> </tbody></table> <p class="p"><strong class="ph b">Return Parameters</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">Name </th> <th class="entry" id="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__2">Type </th> <th class="entry" id="OBTAINPASSWORDS__table_dks_x2j_mlb__entry__3">Description </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 ">Return code. “SUCCESS” will be returned if the request is succeeded. </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 ">Unique identifier of the application, which is assigned by the system. </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 ">AppKey paired with the appId. </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 ">Name of the account to be managed (for example, the name of a database account). </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 of the current request. </td> </tr> </tbody></table> <p class="p"><strong class="ph b">Request Example</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">Return Example</strong></p> <pre class="pre codeblock"><code>{ "code": "SUCCESS", "keychainAccount": "account", "appId": "appId", "appKey": "appKey", "requestId": "f6b6b335-88ad-4124-b6ec-107792fd1a60" } </code></pre> </section>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products