---
title: "Retrieve an SSH key"
method: GET
path: "/v2/org/{org}/nico/sshkey/{sshKeyId}"
tags: ["SSH Key"]
---

# Retrieve an SSH key

`GET /v2/org/{org}/nico/sshkey/{sshKeyId}`

Retrieve an SSH key for the current Tenant by ID

SSH Key must be owned by current Tenant.

Org must have a Tenant entity. User must have authorization role with `TENANT_ADMIN` suffix.

## Response `200`

- SshKey — Details of SSH public key
  - `id` string, uuid — Unique identifier for the key
  - `name` string — Name of the SSHKey
  - `org` string — Organization the SSHKey belongs to
  - `tenantId` string, uuid — ID of the Tenant
  - `fingerprint` string — SHA256 fingerprint of the public key
  - `created` string, date-time — Date/time when the SSH key was created
  - `updated` string, date-time — Date/time when the SSH key was last updated

## Other responses

- `403` — Error response when user is not authorized to call an endpoint or retrieve/modify objects

---

[API](https://skmtc.net/nvidia/apis/nvidia-infra-controller-rest-api.md) · [All operations](https://skmtc.net/nvidia/apis/nvidia-infra-controller-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nvidia/nvidia-infra-controller-rest-api/versions/69e00804e732/schema)
