cURL
curl --request POST \ --url https://us.infisical.com/api/v1/ssh/hosts/{sshHostId}/issue-host-cert \ --header 'Content-Type: application/json' \ --data ' { "publicKey": "<string>" } '
{ "serialNumber": "<string>", "signedKey": "<string>" }
Issue SSH certificate for host
The ID of the SSH host to issue the SSH certificate for.
The SSH public key to issue the SSH certificate for.
Default Response
The serial number of the issued SSH certificate.
The SSH certificate or signed SSH public key.
Was this page helpful?