cURL
curl --request PATCH \
--url https://us.infisical.com/api/v1/cert-manager/certificate-profiles/{id} \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"description": "<string>",
"externalConfigs": {
"template": "<string>"
},
"defaults": {
"ttlDays": 1,
"commonName": "<string>",
"keyUsages": [],
"extendedKeyUsages": [],
"organization": "<string>",
"organizationalUnit": "<string>",
"country": "<string>",
"state": "<string>",
"locality": "<string>"
}
}
'{
"certificateProfile": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"certificatePolicyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"enrollmentType": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"estConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"apiConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acmeConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"issuerType": "ca",
"externalConfigs": {
"template": "<string>"
},
"defaults": {
"ttlDays": 123,
"commonName": "<string>",
"keyUsages": [],
"extendedKeyUsages": [],
"basicConstraints": {
"isCA": true,
"pathLength": 123
},
"organization": "<string>",
"organizationalUnit": "<string>",
"country": "<string>",
"state": "<string>",
"locality": "<string>"
},
"scepConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Certificate Profiles
Update
PATCH
/
api
/
v1
/
cert-manager
/
certificate-profiles
/
{id}
cURL
curl --request PATCH \
--url https://us.infisical.com/api/v1/cert-manager/certificate-profiles/{id} \
--header 'Content-Type: application/json' \
--data '
{
"slug": "<string>",
"description": "<string>",
"externalConfigs": {
"template": "<string>"
},
"defaults": {
"ttlDays": 1,
"commonName": "<string>",
"keyUsages": [],
"extendedKeyUsages": [],
"organization": "<string>",
"organizationalUnit": "<string>",
"country": "<string>",
"state": "<string>",
"locality": "<string>"
}
}
'{
"certificateProfile": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"certificatePolicyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"enrollmentType": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"caId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"estConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"apiConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"acmeConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"issuerType": "ca",
"externalConfigs": {
"template": "<string>"
},
"defaults": {
"ttlDays": 123,
"commonName": "<string>",
"keyUsages": [],
"extendedKeyUsages": [],
"basicConstraints": {
"isCA": true,
"pathLength": 123
},
"organization": "<string>",
"organizationalUnit": "<string>",
"country": "<string>",
"state": "<string>",
"locality": "<string>"
},
"scepConfigId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Path Parameters
Body
application/json
Required string length:
1 - 255Pattern:
^[a-z0-9-]+$Maximum string length:
1000Available options:
ca, self-signed - Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Response
Default Response
Show child attributes
Show child attributes
Was this page helpful?
⌘I