curl --request POST \
--url https://us.infisical.com/api/v1/pki/ca/internal \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"projectId": "<string>",
"enableDirectIssuance": true,
"status": "active",
"configuration": {
"type": "root",
"friendlyName": "<string>",
"commonName": "<string>",
"organization": "<string>",
"ou": "<string>",
"country": "<string>",
"province": "<string>",
"locality": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"maxPathLength": 0,
"keyAlgorithm": "RSA_2048",
"dn": "<string>",
"parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serialNumber": "<string>",
"activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}'
{
"projectId": "<string>",
"enableDirectIssuance": true,
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"type": "internal",
"configuration": {
"type": "root",
"friendlyName": "<string>",
"commonName": "<string>",
"organization": "<string>",
"ou": "<string>",
"country": "<string>",
"province": "<string>",
"locality": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"maxPathLength": 0,
"keyAlgorithm": "RSA_2048",
"dn": "<string>",
"parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serialNumber": "<string>",
"activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
curl --request POST \
--url https://us.infisical.com/api/v1/pki/ca/internal \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"projectId": "<string>",
"enableDirectIssuance": true,
"status": "active",
"configuration": {
"type": "root",
"friendlyName": "<string>",
"commonName": "<string>",
"organization": "<string>",
"ou": "<string>",
"country": "<string>",
"province": "<string>",
"locality": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"maxPathLength": 0,
"keyAlgorithm": "RSA_2048",
"dn": "<string>",
"parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serialNumber": "<string>",
"activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}'
{
"projectId": "<string>",
"enableDirectIssuance": true,
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "active",
"type": "internal",
"configuration": {
"type": "root",
"friendlyName": "<string>",
"commonName": "<string>",
"organization": "<string>",
"ou": "<string>",
"country": "<string>",
"province": "<string>",
"locality": "<string>",
"notBefore": "<string>",
"notAfter": "<string>",
"maxPathLength": 0,
"keyAlgorithm": "RSA_2048",
"dn": "<string>",
"parentCaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serialNumber": "<string>",
"activeCaCertId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}
Default Response
The response is of type object
.
Was this page helpful?