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