Enroll an OpenSSH certificate

Enroll an OpenSSH certificate

Body required
application/json

OpenSSH certificate enrollment request

ca
string required

The OpenSSH Certificate Authority name on which to enroll the certificate

publicKey
string required

The OpenSSH public key to sign

template
object (EnrollmentRequestTemplate) required

The template of the certificate. Parameters can be modified if this was allowed in template configuration.

principals
array of string required

Hostnames covered by the certificate

Responses
  • 201 OpenSSH Certificate successfully enrolled
    signingCa
    string required

    The Signing CA identifier

    id
    string (Internal ID) required

    Object internal ID

    ca
    string required

    Name of the OpenSSH Certificate Authority the certificate is enrolled on

    certificate
    string (OpensshCertificate) required
    type
    string (SSHCertificateType) required

    The Type of OpenSSH certificate

    Enum USER HOST
    serial
    string required

    The serial number of the certificate

    principals
    array of string required

    Hostnames covered by the certificate

    validAfter
    string required

    The start of the validity period of the certificate

    validBefore
    string required

    The end of the validity period of the certificate

    publicKeyThumbprint
    string required

    The thumbprint of the public key of the certificate

    revoked
    boolean required

    If true, the certificate is revoked

    keyId
    string required
    template
    string

    Name of the Template the certificate is enrolled on

    revocationDate
    string | null

    The revocation date of the certificate

  • 400 Bad Request
  • 401 Unauthorized request
  • 403 Forbidden action
  • 404 Not Found
  • 500 Internal Server error