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
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
Time to substract to current time to set the validAfter of the certificate to enroll |
|
type
string (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 requiredLifetime of the OpenSSH certificate to enroll
authorizedKeyTypesarray of string (Key type)The authorized ssh keytype
principalPolicyobject (PrincipalsElement)The principal policy
backdatestringTime to substract to current time to set the validAfter of the certificate to enroll
typestring (SSHCertificateType)The Type of OpenSSH certificate
EnumUSERHOST -
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
500 Internal Server error