VPS_attachPublicKeyV1
Attach one or more existing public keys from your account to a virtual machine, enabling SSH key authentication for secure access.
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 |
|---|---|---|---|
| virtualMachineId | Yes | Virtual Machine ID | |
| ids | Yes | Public Key IDs to attach |