Getting Details of an External CipherTrust Manager Key
Use the get /v1/cckm/external-cm/keys/{id}
API to view the details of an external CipherTrust Manager key.
Syntax
curl -k '<IP>/api/v1/cckm/external-cm/keys/{id}' -H 'Authorization: Bearer AUTHTOKEN' --compressed
Here, {id}
represents the ID of the key.
Request Parameter
Parameter | Type | Description |
---|---|---|
AUTHTOKEN | string | Authorization token. |
Example Request
curl -k 'https://127.0.0.1/api/v1/cckm/external-cm/keys/d3296d8a-22bf-4b9c-8ff7-a41104b4631e' -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJiNzBjZWNmNS1jYjM1LTQ0NTctOWMxNS1mYzJhNzg2NTMwNGIiLCJzdWIiOiJsb2NhbHxkMDdhMjk4Yi04YWE3LTRjOTgtOWM0NS1lODU1NDZiNDRkNjIiLCJpc3MiOiJreWxvIiwiYWNjIjoia3lsbyIsInByZWZlcnJlZF91c2VybmFtZSI6ImFkbWluIiwiY3VzdCI6eyJkb21haW5faWQiOiIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJncm91cHMiOlsiYWRtaW4iXSwic2lkIjoiZDRlNjJiMDgtNmI4NS00NTYwLTkzN2QtYmU1ODc3ZjRlMGNjIiwiem9uZV9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCJ9LCJqd3RpZCI6IjBkZWJlZjRkLThkYWMtNDlhNS1hM2VkLWIzODk2NmRhZTJiNiIsImlhdCI6MTYxNDY1OTQ0OSwiZXhwIjoxNjE0NjU5NzQ5fQ.zm1XWS9dcOc9DKhwQ97B7hSoCd5fvuykdF6ccK_MVM8' --compressed
Example Response
{
"application/json": {
"id": "97edd787-c3ca-4eef-b4b6-22a47faa2566",
"uri": "kylo:kylo:cckm:external-cm-key:key-d82c2565-0c2b-4bb5-8f2a-372a8c616867-97edd787-c3ca-4eef-b4b6-22a47faa2566",
"account": "kylo:kylo:admin:accounts:kylo",
"createdAt": "2023-01-23T07:27:53.734257Z",
"updatedAt": "2023-01-23T07:27:53.731646Z",
"domain_id": "fe5e18gd-52d5-5673-a710-d92a45339845",
"gone": false,
"cm_key_params": {
"key_name": "key-d82c2565-0c2b-4bb5-8f2a-372a8c616867",
"key_usage_mask": 15,
"meta": {
"ownerId": "local|993337a5-c915-404b-98aa-e377942f28ac"
},
"object_type": "Private Key",
"curve_id": "brainpoolP512t1",
"version": 0,
"algorithm": "EC",
"key_size": 512,
"unexportable": false,
"undeletable": false,
"never_exported": true,
"never_exportable": false,
"format": "raw",
"key_id": "c179dfee06b245bbbc803f69224f8e4975c8bcbf74a94f9daa198ebf78268d0a",
"key_state": "Active"
}
}
}
The output shows the details of an external CipherTrust Manager key with ID d3296d8a-22bf-4b9c-8ff7-a41104b4631e
.
Response Codes
Response Code | Description |
---|---|
2xx | Success |
4xx | Client errors |
5xx | Server errors |
Refer to HTTP status codes for details.