curl --request POST \
--url https://us.infisical.com/api/v1/cert-manager/syncs/{pkiSyncId}/certificates \
--header 'Content-Type: application/json' \
--data '
{
"certificateIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"addedCertificates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pkiSyncId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"certificateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"syncStatus": "pending",
"lastSyncMessage": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z"
}
]
}Add certificates to a PKI Sync.
curl --request POST \
--url https://us.infisical.com/api/v1/cert-manager/syncs/{pkiSyncId}/certificates \
--header 'Content-Type: application/json' \
--data '
{
"certificateIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"addedCertificates": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pkiSyncId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"certificateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"syncStatus": "pending",
"lastSyncMessage": "<string>",
"lastSyncedAt": "2023-11-07T05:31:56Z"
}
]
}1Default Response
Show child attributes
Was this page helpful?