host_create
Creates a new SSH host entry, encrypts supplied credentials at rest, and returns public metadata with the uid required to reference it in host listings.
Instructions
Create a new SSH host entry. The supplied password or private key is encrypted at rest and never returned by any tool. The response contains the new host's public metadata, including the uid that identifies it in host_list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssh_port | No | SSH port, default 22. | |
| is_enable | No | Whether SSH tools can target this host. Default true. | |
| ip_address | Yes | Unique IP address or hostname of the host. | |
| system_name | No | Human-readable name (e.g. 'web-01'). | |
| ssh_password | No | Plaintext password (encrypted at rest). Required when auth_method=password. | |
| ssh_username | No | SSH username, default 'root'. | |
| ssh_auth_method | No | 'password' (default) or 'pubkey'. | |
| ssh_private_key | No | Plaintext private key (encrypted at rest). Required when auth_method=pubkey. | |
| ssh_private_key_passphrase | No | Passphrase protecting the private key (encrypted at rest). Only used with auth_method=pubkey. |