cURL
curl --request POST \ --url https://console.cloudblast.io/api/v2/ssh-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "My Laptop", "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA..." } '
{ "data": { "id": 1, "name": "My Laptop", "fingerprint": "a1:b2:c3:d4:e5:f6:a1:b2:c3:d4:e5:f6:a1:b2:c3:d4", "public_key": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA...", "created_at": "2026-01-10T14:00:00+00:00" } }
Adds a new SSH public key to your account.
API token from your CloudBlast account settings. Pass as Authorization: Bearer <token>.
Authorization: Bearer <token>
Display name for the key
40
"My Laptop"
The SSH public key
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA..."
SSH key created
Show child attributes