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

# Retrieve all SSH Keys

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

Retrieve all SSH Keys for the current Tenant.

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

## Query parameters

- `sshKeyGroupId` string
- `query` string
- `includeRelation` 'Tenant'
- `pageNumber` integer
- `pageSize` integer
- `orderBy` 'NAME_ASC' | 'NAME_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'CREATED_ASC' | 'CREATED_DESC' | 'UPDATED_ASC' | 'UPDATED_DESC'

## Response `200`

- SshKey[]
  - `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)
