Upload and manage SSH public keys. Keys are injected into Droplets at creation time via cloud-init.

List SSH Keys

Response:

Add an SSH Key

string
required
Descriptive name for the key
string
required
SSH public key (RSA, Ed25519, or ECDSA)
Response: 201 Created

Delete an SSH Key

Deleting a key does not remove it from already-created Droplets. It only prevents the key from being used for future Droplets.

Using SSH Keys with Droplets

Reference key IDs when creating a Droplet:
The public keys are embedded in the VM’s cloud-init configuration, allowing SSH access: