Update the Password for a KSS Keystore

Updates the password for a Keystore Service (KSS) keystore.

REST Request

PUT /idaas/platform/admin/v1/keystoreservice

Request Body

Media Types: application/json

The response body contains information about the Load Balancer patches, including:

Attribute Description
"keystore" Name of the KSS keystore.
"newpass" New password for the keystore.
"oldpass" Old password for the keystore.
"stripe" Name of the stripe.

Response Body

Media Types: application/json

The response body returns the status of the update operation, including:

Attribute Description
"ERROR_CODE" If "STATUS" is set to "Failed", provides the error code.
"ERROR_MSG" If "STATUS" is set to "Failed", provides the contents of the error message.
"STATUS" Status of operation. For example, "Succeeded" or "Failed".

cURL Example

The following example shows how to import a KSS keystore by submitting a PUT request on the REST resource using cURL. For more information, see "cURL Access".

curl -i -X PUT -u username:password --data @updatekss.json -H Content-Type:application/json http://myhost:7001/idaas/platform/admin/v1/keystoreservice

Example of Request Body

The following shows an example of the request body in JSON format.

{
    "stripe" : "myStripe",
    "keystore" : "mykssstore",
    "oldpass" : "password",
    "newpass" : "password"
}

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 200 OK

Example of Response Body

The following shows an example of the response body in JSON format.

{
    "STATUS": "Succeeded"
}