Updating SAP Keystore
Use the patch /v1/cckm/sap/ekm/keystores/{id}
API to update a SAP keystore.
Syntax
curl -k '<IP>/api/v1/cckm/sap/ekm/keystores/{id}' -X PATCH -H 'Authorization: Bearer AUTHTOKEN' --compressed
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
id | string | ID of the SAP keystore. |
description (optional) | string | Description about the SAP keystore. |
keystore_url_hostname (optional) | string | Hostname for the SAP keystore URL. |
name (optional) | string | Name of the SAP keystore. |
enable_success_audit_event (optional) | string | Enable or disable audit recording of successful operations within an external keystore. The default value is 'false'. Enabling it will reduce the performance of the data-plane APIs. |
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/sap/ekm/keystores/7c6c05fc' -X PATCH -H 'Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJmN2VmOTAzMy1lM2ZjLTQzZGItOTZlYS02ZWViMGI0ZDRkNjQiLCJzdWIiOiJsb2NhbHw4YzAyYWZlMS1kYjQ2LTQ2YmUtOWQzYy1iOGMwNDliNjBjYTIiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJjbGllbnRfaWQiOiI4MzdjODQwZC03NWRkLTRiNGYtYTMxOC03OWNiMTZjYTI0OGQiLCJjbGllbnRfbmFtZSI6ImFwaS1wbGF5Z3JvdW5kIiwiY2xpZW50X3R5cGUiOiJwdWJsaWMiLCJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiODM3Yzg0MGQtNzVkZC00YjRmLWEzMTgtNzljYjE2Y2EyNDhkIiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6ImNmODg4ZDNiLWM4OWItNGYxNC05YjE3LTE2YmE0NjYxMzI0NSIsImlhdCI6MTcxMjIxNzUwOCwiZXhwIjoxNzEyMjE3ODA4fQ.19o-fxU9DzdIuliogzql542Zy9LI_9UNuVIb-qPWsEuuGTvH9sRm60rclyzVaV7d0fn1gwdagqtgC891ALeqOA' -H 'accept: application/json' --compressed
Example Response
{
"id": "7c6c05fc-121d-4310-99b7-4cb5e05fcf59",
"uri": "kylo:kylo:cckm:sap-keystore:7c6c05fc-121d-4310-99b7-4cb5e05fcf59",
"account": "kylo:kylo:admin:accounts:kylo",
"createdAt": "2024-03-19T08:09:27.418569Z",
"updatedAt": "2024-03-19T08:09:27.417077Z",
"name": "sap-keystore",
"description": "demo-sap-keystore",
"keystore_url_hostname": "localhost:443",
"keystore_url": "https://localhost:443/api/v1/cckm/sap/hyok/v1/keystores/7c6c05fc-121d-4310-99b7-4cb5e05fcf59",
"sap_tenant_id": "5e3d1d87-9502-42af-a946-3ffec9e71a44",
"blocked": false,
"state": "ACTIVE"
}
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.