List SSH keys

The SSH keys of the account of the key, then the keys of the VMs of its tenants.

GET /v1/ssh-keys

curl -X GET "https://api.shako.dev/v1/ssh-keys" \
  -H "Authorization: Bearer $SHAKO_API_KEY"

200 (excerpt)

{
  "data": [
    {
      "name": "laptop",
      "fingerprint": "SHA256:o0k2...",
      "key": "ssh-ed25519 AAAAC3Nza... laptop",
      "scope": "account",
      "tenant": null,
      "vm": null,
      "email": "maya@example.com",
      "mine": true
    }
  ]
}

Authenticate with Authorization: Bearer <API key> on https://api.shako.dev. Role: any key.

Response

200 with {"data": [...]}: a list of the SSH key object.

The errors. All the endpoints of Caller.