List the existing certificate template(s)
List the existing OpenSSH certificate template(s)
Responses
-
200 OpenSSH Certificate template(s) list
Array [
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. When neither the enrollment request nor the template specifies it, USER is used
EnumUSERHOST]
-
204 No certificate template defined
-
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
500 Internal Server error