Updates the password for a Keystore Service (KSS) keystore.
| 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. |
| 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". |
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
The following shows an example of the request body in JSON format.
{
"stripe" : "myStripe",
"keystore" : "mykssstore",
"oldpass" : "myPwd",
"newpass" : "myNewPwd"
}
The following shows an example of the response header.
HTTP/1.1 200 OK
The following shows an example of the response body in JSON format.
{
"STATUS": "Succeeded"
}