When a rotation job occurs it produces a map containing useful information that can be assigned to various destinations, including the Windows certificate store.
The following JSON job definition snippet updates one or more certificates within a Windows certificate store:
{
"...": ...,
"rotationSchedule": "...",
"update": {
"windowsCertificateStores": [
{
"storeLocation": "LOCATION OF THE WINDOWS CERTIFICATE STORE E.G. CURRENTUSER",
"storeName": "NAME OF THE WINDOWS CERTIFICATE STORE E.G. MY",
"certificateMappings": [
{
"certificateData": "KEY NAME OF THE CERTIFICATE DATA WITHIN THE ROTATION OUTPUT THAT WE WANT TO STORE",
"password": "OPTIONAL KEY NAME OF THE CERTIFICATE PASSWORD WITHIN THE ROTATION OUTPUT"
},
...
]
}
]
}
}