Fetching SAP Keystore
Use the get /v1/cckm/sap/ekm/keystores
API to fetch the list of SAP Key Stores added to the CipherTrust Manager. The results can be filtered using the query parameters.
Syntax
curl -k '<IP>/api/v1/cckm/sap/ekm/keystores' -H 'Authorization: Bearer AUTHTOKEN' --compressed
Request Parameters
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authentication token. |
Request Query Parameters
Parameter | Type | Description |
---|---|---|
id | string | ID of the SAP keystore. |
name | string | Name of the SAP keystore. |
keystore_url_hostname | string | Hostname for the SAP keystore URL. |
keystore_url | string | URL for the SAP keystore. |
sap_tenant_id | string | Tenant ID of the SAP tenant. |
blocked | boolean | Filter the result by blocked or unblocked state. |
state | string | State of the SAP keystore. |
source_key_tier | string | Filter the results by source key tier. |
skip | integer | Number of records to skip. For example, if "skip":5 is specified, the first five records will not be displayed in the output. |
limit | integer | Numbers of records to display. For example, if "limit":10 is specified, then the next 10 records (after skipping the number of records specified in the skip parameter) will be displayed in the output. |
sort | string | Comma-delimited list of properties to sort the results. |
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/sap/ekm/keystores?skip=0&limit=10&sort=updatedAt' -H 'Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiI3ODJjZmNlMS04OTgzLTQ4OWMtOTUxMi1kOGQ2ZTk1NWQwYzciLCJzdWIiOiJsb2NhbHw4NzNiYjkwMy01MTIxLTQ0YWQtYjIyZi0xMGM0NjFkNTEwNTMiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJjbGllbnRfaWQiOiI4MzdjODQwZC03NWRkLTRiNGYtYTMxOC03OWNiMTZjYTI0OGQiLCJjbGllbnRfbmFtZSI6ImFwaS1wbGF5Z3JvdW5kIiwiY2xpZW50X3R5cGUiOiJwdWJsaWMiLCJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiODM3Yzg0MGQtNzVkZC00YjRmLWEzMTgtNzljYjE2Y2EyNDhkIiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6IjJjYjYyZTA2LTQ0M2QtNGU3My1hNjUxLTRkNzZjM2RjMjRkYyIsImlhdCI6MTcxMjE0NjA1MCwiZXhwIjoxNzEyMTQ2MzUwfQ.lRVUBfaYGisu9n6pILeAPCjm60-y3g445ZDYy_zo288FdcTJmrKs1u5BEANutmIwN1JynwQ2sCnZcehHijiOrg' -H 'accept: application/json' --compressed
Example Response
{
"skip": 0,
"limit": 10,
"total": 1,
"resources": [
{
"id": "3474707d-cb0e-4f52-b3cd-201b72603baa",
"uri": "kylo:kylo:cckm:sap-keystore:3474707d-cb0e-4f52-b3cd-201b72603baa",
"account": "kylo:kylo:admin:accounts:kylo",
"createdAt": "2024-03-20T05:58:42.51099Z",
"updatedAt": "2024-03-20T05:58:42.506605Z",
"name": "sap-keystore",
"description": "demo-sap-keystore",
"keystore_url_hostname": "localhost:443",
"keystore_url": "https://localhost:443/api/v1/cckm/sap/hyok/v1/keystores/3474707d-cb0e-4f52-b3cd-201b72603baa",
"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.