Update an existing certificate template
Update an existing OpenSSH certificate template
Body
required
The certificate template to update
|
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
-
200 Certificate template successfully updated
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
EnumUSERHOST -
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
404 Not Found
-
500 Internal Server error