update_private_key
Modify an existing private key's name, description, or content in PEM format for Coolify self-hosted PaaS instances to maintain secure access credentials.
Instructions
Update a private key
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Private key UUID | |
| name | No | Key name | |
| description | No | Key description | |
| private_key | No | Private key content (PEM format) |
Implementation Reference
- src/tools/handlers.ts:452-454 (handler)Handler logic for 'update_private_key' tool: requires 'uuid' parameter and sends a PATCH request to `/security/keys/${uuid}` with the provided arguments.case 'update_private_key': requireParam(args, 'uuid'); return client.patch(`/security/keys/${args.uuid}`, args);
- src/tools/definitions.ts:646-659 (schema)Tool schema definition for 'update_private_key', including input schema with required 'uuid' and optional fields for name, description, and private_key.{ name: 'update_private_key', description: 'Update a private key', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Private key UUID' }, name: { type: 'string', description: 'Key name' }, description: { type: 'string', description: 'Key description' }, private_key: { type: 'string', description: 'Private key content (PEM format)' } }, required: ['uuid'] } },