curl --request POST \
--url https://us.infisical.com/api/v1/ssh/certificates/issue \
--header 'Content-Type: application/json' \
--data '{
"certificateTemplateId": "<string>",
"keyAlgorithm": "ED25519",
"certType": "user",
"principals": [
"<string>"
],
"ttl": "<string>",
"keyId": "<string>"
}'
{
"serialNumber": "<string>",
"signedKey": "<string>",
"privateKey": "<string>",
"publicKey": "<string>",
"keyAlgorithm": "RSA_2048"
}
Issue SSH credentials (certificate + key)
curl --request POST \
--url https://us.infisical.com/api/v1/ssh/certificates/issue \
--header 'Content-Type: application/json' \
--data '{
"certificateTemplateId": "<string>",
"keyAlgorithm": "ED25519",
"certType": "user",
"principals": [
"<string>"
],
"ttl": "<string>",
"keyId": "<string>"
}'
{
"serialNumber": "<string>",
"signedKey": "<string>",
"privateKey": "<string>",
"publicKey": "<string>",
"keyAlgorithm": "RSA_2048"
}
Default Response
The response is of type object
.
Was this page helpful?