---
title: "List SSH keys"
method: GET
path: "/storage/provisioning/v2/key"
tags: ["SSHKeys"]
deprecated: true
---

# List SSH keys

`GET /storage/provisioning/v2/key`

> **Deprecated.**

Returns all SSH public keys for SFTP storage access. These keys enable passwordless authentication to SFTP storages and are not used for S3-compatible storage.
Deprecated: Use GET /v4/`ssh_keys` instead.

## Query parameters

- `offset` integer
- `limit` integer
- `order_by` string
- `order_direction` 'asc' | 'desc'
- `id` string
- `name` string
- `created` string

## Response `200`

KeyListEndpointRes

- KeyListEndpointRes
  - `data` Key[]
    - `created_at` string, date-time — ISO 8601 timestamp when the SSH key was created
    - `id` integer — Unique identifier for the SSH key
    - `name` string — User-defined name for the SSH key
  - `meta` DataMeta — Provide meta info through layers
    - `ToMeta` object

## Other responses

- `400` — ErrResponse

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
