---
title: "List SSH Public Keys"
method: GET
path: "/v0/users/{user_id}/keys"
tags: ["users"]
---

# List SSH Public Keys

`GET /v0/users/{user_id}/keys`

Lists all SSH public keys associated with the authenticated user's account.
These keys can be used for Git operations and SFTP access.

Returns a map where keys are SSH key UUIDs (fingerprints without colons)
and values are the full SSH public key strings in standard format:
"ssh-rsa AAAAB3... comment" or "ssh-ed25519 AAAAC3... comment"

## Path parameters

- `user_id` string, required

## Response `200`

- ListSSHKeysResponse — Example response: { "28107bd5a8612555538bfa962bc64e20": "ssh-rsa AAAAB3... user@example.com", "a3c4f8b9d2e1a5c6b7d8e9f0a1b2c3d4": "ssh-ed25519 AAAAC3... admin@host.com" }

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/pantheon/apis/pantheon-public-api-service.md) · [All operations](https://skmtc.net/pantheon/apis/pantheon-public-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pantheon/pantheon-public-api-service/revisions/94758829689e/schema)
