Update an existing certificate template

Update an existing OpenSSH certificate template

Body required
application/json

The certificate template to update

enabled
boolean required

If true, this template can be used for OpenSSH certificate enrollment

name
string required

Name of the certificate template

lifetime
string | null required

Lifetime of the OpenSSH certificate to enroll

authorizedKeyTypes
array of string (Key type)

The authorized ssh keytype

principalPolicy
object (PrincipalsElement)

The principal policy

backdate
string | null

Time to substract to current time to set the validAfter of the certificate to enroll

type
string | null (SSHCertificateType)

The Type of OpenSSH certificate

Enum USER HOST
Responses
  • 200 Certificate template successfully updated
    id
    string (Internal ID) required

    Object internal ID

    enabled
    boolean required

    If true, this template can be used for OpenSSH certificate enrollment

    name
    string required

    Name of the certificate template

    lifetime
    string | null required

    Lifetime of the OpenSSH certificate to enroll

    authorizedKeyTypes
    array of string (Key type)

    The authorized ssh keytype

    principalPolicy
    object (PrincipalsElement)

    The principal policy

    backdate
    string | null

    Time to substract to current time to set the validAfter of the certificate to enroll

    type
    string | null (SSHCertificateType)

    The Type of OpenSSH certificate

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