v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
SSH Certificate Templates

post/api/v1/ssh/certificate-templates

Request body

sshCaIdstring required

The ID of the SSH CA to associate the certificate template with.

namestring required

The name of the certificate template.

ttlstring

The default time to live for issued certificates such as 1m, 1h, 1d, 1y, ...

maxTTLstring

The maximum time to live for issued certificates such as 1m, 1h, 1d, 1y, ...

allowedUsersstring[] required

The list of allowed users for certificates issued under this template.

allowedHostsstring[] required

The list of allowed hosts for certificates issued under this template.

allowUserCertificatesboolean required

Whether or not to allow user certificates to be issued under this template.

allowHostCertificatesboolean required

Whether or not to allow host certificates to be issued under this template.

allowCustomKeyIdsboolean required

Whether or not to allow custom key IDs for certificates issued under this template.

Response

Default Response

idstring uuid required
sshCaIdstring uuid required
statusstring required
namestring required
ttlstring required
maxTTLstring required
allowedUsersstring[] required
allowedHostsstring[] required
allowCustomKeyIdsboolean required
allowUserCertificatesboolean required
allowHostCertificatesboolean required