---
title: "List SSH keys"
method: GET
path: "/ssh-keys"
---

# List SSH keys

`GET /ssh-keys`

Retrieve the list of SSH keys

## Response `200`

OK

- object
  - `data` SshKey[], required
    - `id` string, required — Unique identifier (ID) of an SSH key
    - `name` string, required — Name of the SSH key
    - `public_key` string, required — Public key for the SSH key
    - `private_key` string, nullable — Private key for the SSH key. Only returned when generating a new key pair.

## Other responses

- `401` — Unauthorized.
- `403` — Forbidden.

---

[API](https://skmtc.dev/unweave/apis/lambda-cloud-api.md) · [All operations](https://skmtc.dev/unweave/apis/lambda-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/unweave/lambda-cloud-api/revisions/fd68e04e7a08/schema)
