---
title: "Create"
method: POST
path: "/security/keys"
tags: ["Private Keys"]
---

# Create

`POST /security/keys`

Create a new private key.

## Request body

- object
  - `name` string
  - `description` string
  - `private_key` string, required

## Response `201`

The created private key's UUID.

- object
  - `uuid` string

## Other responses

- `400` — Invalid token.
- `401` — Unauthenticated.
- `422` — Validation error.

---

[API](https://skmtc.net/coollabsio/apis/coolify.md) · [All operations](https://skmtc.net/coollabsio/apis/coolify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coollabsio/coolify/revisions/08be5dc8e729/schema)
