---
title: "Create SSH key"
method: POST
path: "/storage/provisioning/v1/key"
tags: ["SSHKeys"]
deprecated: true
---

# Create SSH key

`POST /storage/provisioning/v1/key`

> **Deprecated.**

Creates an SSH public key for SFTP storage access. These keys are used for passwordless authentication to SFTP storages and are not used for S3-compatible storage.
Deprecated: Use POST /v4/`ssh_keys` instead.

## Request body

- object
  - `key` string
  - `name` string

## Response `200`

Key

- 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

## Other responses

- `400` — ErrResponse
- `409` — 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)
