list_private_keys
Retrieve SSH private keys from Coolify PaaS instances to manage secure server access and authentication for deployments.
Instructions
List all SSH private keys
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/handlers.ts:440-441 (handler)The handler case in the main tool dispatch switch statement that executes the list_private_keys tool by making a GET request to '/security/keys' via the client.case 'list_private_keys': return client.get('/security/keys');
- src/tools/definitions.ts:619-622 (schema)The tool schema definition in the allToolDefinitions array, specifying the name, description, and empty input schema (no parameters required).{ name: 'list_private_keys', description: 'List all SSH private keys', inputSchema: { type: 'object', properties: {}, required: [] }
- src/tools/definitions.ts:35-41 (helper)The list_private_keys tool is included in the READ_ONLY_TOOLS array, indicating it is a read-only operation available even in read-only mode.'list_private_keys', 'get_private_key', 'list_resources', 'list_github_apps', 'get_github_app', 'get_github_app_repositories', 'get_github_app_repository_branches'
- src/tools/definitions.ts:1201-1206 (registration)The getToolDefinitions function registers all tools including list_private_keys by returning the array of tool definitions, filtered for read-only mode if enabled.export function getToolDefinitions() { if (isReadOnlyMode()) { return allToolDefinitions.filter(tool => READ_ONLY_TOOLS.includes(tool.name)); } return allToolDefinitions; }