Skip to main content
POST
Issue an SSH certificate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
public_key
string
required

Your SSH public key, in OpenSSH authorized_keys format.

Minimum string length: 1
Pattern: \S
Example:

"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4yn2NJYJ23X+VL6P4UO7AO5G6l3QqJ0ffuLUbnR2BX you@example.com"

Response

The signed certificate.

certificate
string
required

Short-lived certificate for your key. Save it next to your private key as <key>-cert.pub and ssh presents it automatically.

key_id
string
required

Identifier recorded in the certificate.