Register a new certificate template
Register a new OpenSSH certificate template
Body
required
Certificate template to register
enabled
boolean
requiredIf true, this template can be used for OpenSSH certificate enrollment |
name
string
requiredName of the certificate template |
lifetime
string | null
requiredLifetime 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
-
201 Certificate template successfully registered
idstring (Internal ID) requiredObject internal ID
enabledboolean requiredIf true, this template can be used for OpenSSH certificate enrollment
namestring requiredName of the certificate template
lifetimestring | null requiredLifetime of the OpenSSH certificate to enroll
authorizedKeyTypesarray of string (Key type)The authorized ssh keytype
principalPolicyobject (PrincipalsElement)The principal policy
backdatestring | nullTime to substract to current time to set the validAfter of the certificate to enroll
typestring | null (SSHCertificateType)The Type of OpenSSH certificate
EnumUSER
HOST
-
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
500 Internal Server error