GetKeyNames
This API gets list of keys associated with a user.
URL
<http/https>://<host-name>:<Port>/protectappws/services/rest/getkeynames
Input Parameters
| Parameters | Description | 
|---|---|
| username | Name of the user for which keys are to be retrieved. | 
| password | Password of the user for which keys are to be retrieved. | 
Sample REST call for cxf
request
    {
        "Get_KeyNames": {
        "username": "testuser",
        "password": "testpasscode"
    }
    }
response
    {
        "GetKeyNamesResponse": {
            "keyNames": "[hmacSHA512keyv, ariakeyv, testaeskeyonce,… <…sample truncated for brevity…>… aesoncekeyv, aesoncekeyvImport]"
        }
    }
Sample SOAP Parameters
<prot:GetKeyNames>
    <username>testuser</username>
    <password>testpasscode</password>
</prot:GetKeyNames>
Output
Output
<ns2:GetKeyNamesResponse xmlns:ns2="http://dsws.org/protectappws/">[ secp256k1_ecc_key_5v, <…sample truncated for brevity…>,aesoncekeyvImport]</ns2:GetKeyNamesResponse>