VPS_attachPublicKeyV1
Attach public keys to a virtual machine for SSH key authentication. Use this tool to enable secure access by linking existing public keys to a specified VPS instance.
Instructions
Attach existing public keys from your account to a specified virtual machine.
Multiple keys can be attached to a single virtual machine.
Use this endpoint to enable SSH key authentication for VPS instances.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ids | Yes | Public Key IDs to attach | |
virtualMachineId | Yes | Virtual Machine ID |
Input Schema (JSON Schema)
{
"properties": {
"ids": {
"description": "Public Key IDs to attach",
"items": {
"description": "ids parameter",
"type": "integer"
},
"type": "array"
},
"virtualMachineId": {
"description": "Virtual Machine ID",
"type": "integer"
}
},
"required": [
"virtualMachineId",
"ids"
],
"type": "object"
}