curl --request POST \
--url https://us.infisical.com/api/v1/ssh/hosts/{sshHostId}/issue-user-cert \
--header 'Content-Type: application/json' \
--data '{
"loginUser": "<string>"
}'
{
"serialNumber": "<string>",
"signedKey": "<string>",
"privateKey": "<string>",
"publicKey": "<string>",
"keyAlgorithm": "RSA_2048"
}
Issue SSH certificate for user
curl --request POST \
--url https://us.infisical.com/api/v1/ssh/hosts/{sshHostId}/issue-user-cert \
--header 'Content-Type: application/json' \
--data '{
"loginUser": "<string>"
}'
{
"serialNumber": "<string>",
"signedKey": "<string>",
"privateKey": "<string>",
"publicKey": "<string>",
"keyAlgorithm": "RSA_2048"
}
The ID of the SSH host to issue the SSH credentials for.
Default Response
The response is of type object
.
Was this page helpful?