POST
/
api
/
v1
/
ssh
/
hosts
/
{sshHostId}
/
issue-host-cert
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>"
}

Path Parameters

sshHostId
string
required

The ID of the SSH host to issue the SSH certificate for.

Body

application/json
publicKey
string
required

The SSH public key to issue the SSH certificate for.

Response

Default Response

serialNumber
string
required

The serial number of the issued SSH certificate.

signedKey
string
required

The SSH certificate or signed SSH public key.