curl --request GET \
--url https://us.infisical.com/api/v2/workspace/{projectId}/ssh-certificate-templates
{
"certificateTemplates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sshCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"name": "<string>",
"ttl": "<string>",
"maxTTL": "<string>",
"allowedUsers": [
"<string>"
],
"allowedHosts": [
"<string>"
],
"allowCustomKeyIds": true,
"allowUserCertificates": true,
"allowHostCertificates": true
}
]
}
curl --request GET \
--url https://us.infisical.com/api/v2/workspace/{projectId}/ssh-certificate-templates
{
"certificateTemplates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sshCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"name": "<string>",
"ttl": "<string>",
"maxTTL": "<string>",
"allowedUsers": [
"<string>"
],
"allowedHosts": [
"<string>"
],
"allowCustomKeyIds": true,
"allowUserCertificates": true,
"allowHostCertificates": true
}
]
}
The ID of the project to list SSH certificate templates for.
Default Response
The response is of type object
.
Was this page helpful?