GET All KeyStores
Retrieves the IDs(names) of all the keyStores that exist within the Secure Proxy Configuration Manager.
With the getAllKeyStores method, you can retrieve the IDs(names) of the keyStores that exist within the Secure Proxy Configuration Manager.
This API method requires authentication. The authentication token generated at login must be passed in through the "X-Authentication" header.
| Method | Resource | URI | Description |
|---|---|---|---|
GET |
keyStore |
/sspcmrest/sspcm/rest/keyStore/getAllKeyStores |
Gets the IDs(names) corresponding to the keyStores defined with in the Secure Proxy Configuration Manager. |
| Parameter | Required or Optional | Description | Validation | Valid values |
|---|---|---|---|---|
None |
Not Required |
Retrieves the IDs(names) of the keyStores that are defined with in Secure Proxy Configuration Manager. |
None |
None |
| Parameter | Description |
|---|---|
Messages |
The IDs(names) corresponding to all the keyStores. |
JSON KeyStore request
The following example shows the HTTP request:
GET https://localhost:8443/sspcmrest/sspcm/rest/keyStore/getAllKeyStores
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
XML KeyStore response
The following example shows the XML response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XmlResponse>
<httpCode>200</httpCode>
<httpStatus>OK</httpStatus>
<action>None</action>
<messageLevel>INFO</messageLevel>
<objectsList>["NM_Trusted","dfltCMKeyStore","dfltCMTrustStore","dfltKeyStore",
"dfltTrustStore"]</objectsList>
<results/>
</XmlResponse>