Skip to main content
GET
/
ssh_keys
/
{ssh_key_id}
Python (SDK)
from latitudesh_python_sdk import Latitudesh
import os


with Latitudesh(
    bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:

    res = latitudesh.ssh_keys.get_ssh_key(ssh_key_id="ssh_zGr47qlMDAg0m")

    # Handle response
    print(res)
{
  "data": {
    "id": "ssh_0MK4O4Zkqa95w",
    "type": "ssh_keys",
    "attributes": {
      "tags": [],
      "name": "skiles.test",
      "public_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOrRGYU+6bjz8a7DgqNdn4tHIZOp66o6imzvDk1clS4RRGCUwQlk8e0uOf3vEv2EF6QYlPpu+AaSiLryV4cT+RdY4XFLksTVwJ6pH5PIDpfcb+hh5E/HpyDUea38FDyED6+tkz75v6rvcVS7GliLKaHyiawMNqNPBEgEJBNPxwjhgDouhg9qjFcqFbEsKcVF+vZFrCpvTXWjI2O7EqI0es5p6161e88BvnKcVMsKfdpD35n2LwwGm2rK6+mBy1znUS0xDS0XDU8O/hAWPFQHhWj5TpoIrOwpYdfBIP/+tdQwmswD2JedsdcJl0MQMGSs5xSPZqUTB8qIktZ260o11h",
      "fingerprint": "06:9f:69:74:ab:43:9b:a6:47:d9:37:15:e2:d5:0d:31",
      "created_at": "2025-07-16T18:37:07+00:00",
      "updated_at": "2025-07-16T18:37:07+00:00",
      "user": {
        "id": "user_VGBlzEKMLYIbpXXxZV8mCaKwPYV",
        "first_name": "Chuck",
        "last_name": "Kemmer",
        "email": "florencio@nader.example",
        "created_at": "2024-11-17T00:00:00.000Z",
        "updated_at": "2025-04-30T00:00:00.000Z",
        "role": {
          "id": "role_ZR4vkpP58YSGRzy8Qk4XHQeKjQK",
          "name": "owner",
          "created_at": "2025-02-01T00:00:00.000Z",
          "updated_at": "2026-05-25T00:00:00.000Z"
        }
      }
    }
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Path Parameters

ssh_key_id
string
required

Response

200 - application/vnd.api+json

Success

data
object
I