Enroll an OpenSSH certificate
Enroll an OpenSSH certificate
OpenSSH certificate enrollment request
|
ca
string
requiredThe OpenSSH Certificate Authority name on which to enroll the certificate |
|
publicKey
string
requiredThe OpenSSH public key to sign |
|
template
object (EnrollmentRequestTemplate)
required
The template of the certificate. Parameters can be modified if this was allowed in template configuration. |
|
principals
array of string
requiredHostnames covered by the certificate |
-
201 OpenSSH Certificate successfully enrolled
principalsarray of string requiredHostnames covered by the certificate
signingCastring requiredThe Signing CA identifier
publicKeystring requiredThe OpenSSH public key embedded in the certificate
idstring (Internal ID) requiredObject internal ID
castring requiredName of the OpenSSH Certificate Authority the certificate is enrolled on
templatestring requiredName of the Template the certificate is enrolled on
certificatestring (OpensshCertificate) requiredtypestring (SSHCertificateType) requiredThe Type of OpenSSH certificate. When neither the enrollment request nor the template specifies it, USER is used
EnumUSERHOSTserialstring requiredThe serial number of the certificate
validAfterstring requiredThe start of the validity period of the certificate
validBeforestring requiredThe end of the validity period of the certificate
publicKeyThumbprintstring requiredThe thumbprint of the public key of the certificate
revokedboolean requiredIf true, the certificate is revoked
keyIdstring requiredrevocationDatestringThe revocation date of the certificate
-
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
404 Not Found
-
500 Internal Server error