add_ssh_key
Register a new SSH public key with validation, policy enforcement, and admin approval requirements for secure server access.
Instructions
Register a new SSH public key with policy checks.
Validates key format and strength. Enforces TTL limits from key policy. Requires ADMIN role and prior approval.
Risk level: high (requires approval).
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": {
"user_name": "<user_name>",
"public_key": "<public_key>"
},
"name": "add_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_name | Yes | ||
| public_key | Yes | ||
| ttl_seconds | No | ||
| reason | No | ||
| approval_request_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||