List Elasticsearch api-keys
elasticsearch_api_keys_listList Elasticsearch API keys to inspect IDs, names, creation/expiration dates, invalidation status, and usernames without exposing credentials; supports pagination for reviewing Karakoram-created keys.
Instructions
List Elasticsearch api-keys
Returns items with id, name, creation, expiration, invalidated and username, never credential material; only keys created through Karakoram are visible. Use limit (default 100, maximum 500) and cursor with nextCursor; select id for elasticsearch_api_key_invalidate.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cluster": "<cluster>"
},
"name": "elasticsearch_api_keys_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results per page. Results are authorization-filtered before pagination. | |
| cursor | No | Opaque cursor returned by the preceding page. | |
| cluster | Yes | Managed cluster name; the RBAC object is namespace/cluster. | |
| namespace | No | Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| nextCursor | No | ||
| operationId | No |