GET
/
api
/
v2
/
workspace
/
{slug}
/
cas
curl --request GET \
  --url https://us.infisical.com/api/v2/workspace/{slug}/cas
{
  "cas": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "projectId": "<string>",
      "type": "<string>",
      "status": "<string>",
      "friendlyName": "<string>",
      "organization": "<string>",
      "ou": "<string>",
      "country": "<string>",
      "province": "<string>",
      "locality": "<string>",
      "commonName": "<string>",
      "dn": "<string>",
      "serialNumber": "<string>",
      "maxPathLength": 123,
      "keyAlgorithm": "<string>",
      "notBefore": "2023-11-07T05:31:56Z",
      "notAfter": "2023-11-07T05:31:56Z",
      "activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "requireTemplateForIssuance": false
    }
  ]
}

Path Parameters

slug
string
required

The slug of the project to list CAs for.

Required string length: 5 - 36

Query Parameters

status
enum<string>

The status of the CA to filter by.

Available options:
active,
pending-certificate
friendlyName
string

The friendly name of the CA to filter by.

commonName
string

The common name of the CA to filter by.

offset
number
default:
0

The offset to start from. If you enter 10, it will start from the 10th CA.

Required range: 0 < x < 100
limit
number
default:
25

The number of CAs to return.

Required range: 1 < x < 100

Response

200
application/json
Default Response
cas
object[]
required

Was this page helpful?