Skip to main content
GET
/
encrova-service
/
api
/
v1
/
certificates
/
workspace
/
{workspaceName}
List Certificates
curl --request GET \
  --url https://encryption.platform.dev.ai71services.ai/encrova-service/api/v1/certificates/workspace/{workspaceName} \
  --header 'x-api-key: <x-api-key>'
{
  "certificates": [
    {
      "altNames": "www.example.com,api.example.com",
      "caCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "certificateTemplateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "commonName": "example.com",
      "createdAt": "2023-11-07T05:31:56Z",
      "extendedKeyUsages": [
        "serverAuth",
        "clientAuth"
      ],
      "friendlyName": "My Certificate",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "keyUsages": [
        "digitalSignature",
        "keyEncipherment"
      ],
      "notAfter": "2024-11-07T05:31:56Z",
      "notBefore": "2023-11-07T05:31:56Z",
      "revocationReason": 1,
      "revokedAt": "2023-11-07T05:31:56Z",
      "serialNumber": "123456789",
      "status": "active",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "totalCount": 1
}

Headers

x-api-key
string
required

API Key for authentication

Path Parameters

workspaceName
string
required

Name of the workspace

Response

Successful Response

certificates
Certificate · object[]
required

List of certificates

totalCount
integer
required

Total number of certificates