AddSecretData
This API adds KMIP secret data to Key Manager.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/kmip/addSecretData
Input Parameters
Parameters | Description |
---|---|
certAlias | Client certificate alias for making SSL connections (optional). |
certPass | Password for the provided certificate alias (optional). |
secretData | Secret data to be added to the Key Manager. |
dataType | Type of the secret data to be added to Key Manager. Valid values are Password and Seed. It is an optional parameter. If no value is provided, default value, Password is used. |
secretDataName | Name for the secret data. |
Sample REST call for cxf
request
{
"AddSecretDataRequest": {
"certAlias": "privatekey",
"certPassword": "asdf1234",
"secretData": "2E1717D057F2BA2CBA7F6EFF6D37F846CE2848C92C1A0BCBF4F4D3011304BD57",
"dataType": "Password",
"secretDataName": "secdata1"
}
}
response
{
"AddSecretDataResponse": {
"secretDataResponse": "4747C796C5A5BF5D19F9EB8621CF9F304DCF646E515B292250BF2B5BB9FA43B8"
}
}
The unique identification number (UID) of the secret data is returned in the response.
Note
Caching of session-pool for a user is not supported for KMIP requests.