Sign the public key of the caller with the SSH certificate authority of the organization for one SSH target the caller has a rule on. The certificate lists one principal, lives as long as the target allows and is recorded. Principal never sees the private key. An API token marked as an AI agent gets a certificate only when it was issued with allow_credentials_read, otherwise 403 auth.api_token_not_allowed (details.reason=api_token_credentials_read_not_allowed).
Request body application/json · SSHCertificateRequest
OpenSSH public key, ssh-ed25519, ecdsa or RSA of at least 2048 bits.
Responses
Created
SSHCertificateResponse · 8 fields
The certificate in OpenSSH format, to save next to the private key as id_*-cert.pub.
5 fields
The Linux account to sign in as on this host. Empty until a rule of the person is applied there.
Shared accounts such as deploy that the certificate also opens on this host, sorted by name. Empty when no applied rule gives one.
Conflict
Common errors: 400 401 403 404 413 429 504. They mean the same for every operation, see Errors.