hyperv_credential_set
Store a Hyper-V guest administrator username and password in local plugin configuration so credentials persist across restarts and avoid repeated prompts.
Instructions
Store the guest administrator username and password for a Hyper-V virtual machine. Omit password (or pass an empty string) when the guest account has no password. The password is never returned or logged by this tool; it is written to this plugin's local configuration file under the harness home, so it survives restarts without touching the shared credential store. Ask the user once, store it, and reuse it — do not re-ask on every run.
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": {
"vm": "<vm>",
"username": "<username>"
},
"name": "hyperv_credential_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm | Yes | Name of the Hyper-V virtual machine. | |
| password | No | Guest account password. Omit or pass an empty string when the account has no password. | |
| username | Yes | Guest account name. Must be a local administrator inside the guest. |