curl --request PATCH \
--url https://us.infisical.com/api/v1/cert-manager/syncs/chef/{pkiSyncId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"isAutoSyncEnabled": true,
"destinationConfig": {
"dataBagName": "<string>"
},
"syncOptions": {
"canImportCertificates": false,
"canRemoveCertificates": true,
"includeRootCa": false,
"preserveItemOnRenewal": true,
"updateExistingCertificates": true,
"certificateNameSchema": "<string>",
"fieldMappings": {
"certificate": "certificate",
"privateKey": "private_key",
"certificateChain": "certificate_chain",
"caCertificate": "ca_certificate"
}
},
"subscriberId": "<string>",
"connectionId": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"destination": "chef",
"isAutoSyncEnabled": true,
"destinationConfig": {
"dataBagName": "<string>"
},
"syncOptions": {
"canImportCertificates": false,
"canRemoveCertificates": true,
"includeRootCa": false,
"preserveItemOnRenewal": true,
"updateExistingCertificates": true,
"certificateNameSchema": "<string>",
"fieldMappings": {
"certificate": "certificate",
"privateKey": "private_key",
"certificateChain": "certificate_chain",
"caCertificate": "ca_certificate"
}
},
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"subscriberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"syncStatus": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z"
}Update the specified Chef PKI Sync.
curl --request PATCH \
--url https://us.infisical.com/api/v1/cert-manager/syncs/chef/{pkiSyncId} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"isAutoSyncEnabled": true,
"destinationConfig": {
"dataBagName": "<string>"
},
"syncOptions": {
"canImportCertificates": false,
"canRemoveCertificates": true,
"includeRootCa": false,
"preserveItemOnRenewal": true,
"updateExistingCertificates": true,
"certificateNameSchema": "<string>",
"fieldMappings": {
"certificate": "certificate",
"privateKey": "private_key",
"certificateChain": "certificate_chain",
"caCertificate": "ca_certificate"
}
},
"subscriberId": "<string>",
"connectionId": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"destination": "chef",
"isAutoSyncEnabled": true,
"destinationConfig": {
"dataBagName": "<string>"
},
"syncOptions": {
"canImportCertificates": false,
"canRemoveCertificates": true,
"includeRootCa": false,
"preserveItemOnRenewal": true,
"updateExistingCertificates": true,
"certificateNameSchema": "<string>",
"fieldMappings": {
"certificate": "certificate",
"privateKey": "private_key",
"certificateChain": "certificate_chain",
"caCertificate": "ca_certificate"
}
},
"projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"subscriberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"syncStatus": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z"
}1 - 64Show child attributes
Show child attributes
1111Default Response
255chef Show child attributes
Show child attributes
1111Was this page helpful?