Overview

The SSH Keys API stores SSH public/private key pairs, generates new keys with ssh-keygen, imports existing private keys to derive their public keys, and returns fingerprints for key identification. Keys are scoped to the authenticated user.

Base URL

All endpoints require a valid Bearer token in the Authorization header. See Authentication for details.

Endpoints

List keys

Response:

Store key

Request body:
Response:

Generate key

Request body:
Response:
Supported key types: ed25519, rsa, ecdsa. RSA defaults to 4096 bits; others default to 256 bits.

Import key

Request body:
Response:

Error codes