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
signingCastring requiredThe Signing CA identifier
idstring (Internal ID) requiredObject internal ID
castring requiredName of the OpenSSH Certificate Authority the certificate is enrolled on
certificatestring (OpensshCertificate) requiredtypestring (SSHCertificateType) requiredThe Type of OpenSSH certificate
EnumUSER
HOST
serialstring requiredThe serial number of the certificate
principalsarray of string requiredHostnames covered by 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 requiredtemplatestringName of the Template the certificate is enrolled on
revocationDatestring | nullThe revocation date of the certificate
-
400 Bad Request
-
401 Unauthorized request
-
403 Forbidden action
-
404 Not Found
-
500 Internal Server error