Skip to main content
GET
/
api
/
v2
/
certificate-templates
cURL
curl --request GET \
  --url https://us.infisical.com/api/v2/certificate-templates
{
  "certificateTemplates": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "description": "<string>",
      "subject": [
        {
          "type": "common_name",
          "allowed": [
            "<string>"
          ],
          "required": [
            "<string>"
          ],
          "denied": [
            "<string>"
          ]
        }
      ],
      "sans": [
        {
          "type": "dns_name",
          "allowed": [
            "<string>"
          ],
          "required": [
            "<string>"
          ],
          "denied": [
            "<string>"
          ]
        }
      ],
      "keyUsages": {
        "allowed": [
          "digital_signature"
        ],
        "required": [
          "digital_signature"
        ],
        "denied": [
          "digital_signature"
        ]
      },
      "extendedKeyUsages": {
        "allowed": [
          "client_auth"
        ],
        "required": [
          "client_auth"
        ],
        "denied": [
          "client_auth"
        ]
      },
      "algorithms": {
        "signature": [
          "<string>"
        ],
        "keyAlgorithm": [
          "<string>"
        ]
      },
      "validity": {
        "max": "<string>"
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "totalCount": 123
}

Query Parameters

projectId
string
required
Minimum length: 1
offset
number
default:0
Required range: x >= 0
limit
number
default:20
Required range: 1 <= x <= 100

Response

Default Response

certificateTemplates
object[]
required
totalCount
number
required