---
title: "Create SSH Key"
method: POST
path: "/v1/sshkeys"
tags: ["SSH"]
---

# Create SSH Key

`POST /v1/sshkeys`

Create SSH Key

## Headers

- `x-rd-key` string, required

## Request body

- object
  - `name` string, required — Human-readable label for the SSH key. Used for identification within the account.
  - `publickey` string, required — Public SSH key in OpenSSH format. Supported key types include ssh-ed25519 and ssh-rsa.

## Response `200`

Create SSH Key

- object
  - `data` object
    - `id` string
    - `name` string
    - `publicKey` string
  - `message` string
  - `success` boolean

---

[API](https://skmtc.net/rackdog/apis/rackdog-metal.md) · [All operations](https://skmtc.net/rackdog/apis/rackdog-metal/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rackdog/rackdog-metal/versions/c0ae6871df1e/schema)
