Interlaken
API referenceComputeVirtual machines

Get a Windows VM's Administrator password, sealed to its SSH key

GET
/api/v1/vms/{id}/password

Requires the vms:read permission.

Returns the CIPHERTEXT of the generated Administrator password, encrypted to the public key the VM was created with. The platform keeps no plaintext copy, so this is the only form the password exists in outside the guest. Decrypt it with the matching private key. 404 when the VM has no sealed password — a Linux guest, or a Windows guest created with a password of your own.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/vms/string/password"
{  "algorithm": "string",  "ciphertext": "string",  "created_at": "2019-08-24T14:15:22Z",  "fingerprint": "string"}