KeyImport
This API imports key into the key management appliances.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/keyImport
Input Parameters
Parameters | Description |
---|---|
username | User name (optional). |
password | Password associated with the user (optional). |
keyname | Name of the key to import. |
keyalgorithm | Algorithm to be used. Possible options are: — AES — RSA — EC — Hmac |
keyisdeletable | Determines whether the imported key will be deletable via the API – boolean, default is false. |
keyisexportable | Determines whether the imported key will be exportable via the API – boolean, default is false. |
keybytes | The bytes for key to be imported. |
certAlias | Client certificate alias for making SSL connections (optional). |
certPass | Password for the provided certificate alias (optional). |
Sample REST call for cxf
request
response
Sample SOAP Parameters
Output
boolean – indicate if key import was successful.