---
title: "Create"
method: POST
path: "/ssh_certificate_authorities"
tags: ["SSHCertificateAuthorities"]
---

# Create

`POST /ssh_certificate_authorities`

Create a new SSH Certificate Authority

## Headers

- `ngrok-version` integer, required

## Request body

- SSHCertificateAuthorityCreate
  - `description` string — human-readable description of this SSH Certificate Authority. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.
  - `private_key_type` string — the type of private key to generate. one of `rsa`, `ecdsa`, `ed25519`
  - `elliptic_curve` string — the type of elliptic curve to use when creating an ECDSA key
  - `key_size` integer — the key size to use when creating an RSA key. one of `2048` or `4096`

## Response `201`

Create a new SSH Certificate Authority

- SSHCertificateAuthority
  - `id` string — unique identifier for this SSH Certificate Authority
  - `uri` string — URI of the SSH Certificate Authority API resource
  - `created_at` string — timestamp when the SSH Certificate Authority API resource was created, RFC 3339 format
  - `description` string — human-readable description of this SSH Certificate Authority. optional, max 255 bytes.
  - `metadata` string — arbitrary user-defined machine-readable data of this SSH Certificate Authority. optional, max 4096 bytes.
  - `public_key` string — raw public key for this SSH Certificate Authority
  - `key_type` string — the type of private key for this SSH Certificate Authority

---

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