Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.42 KB

File metadata and controls

38 lines (33 loc) · 1.42 KB

Windows Certificate Store

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"
                    },
                    ...
                ]
            }
        ]
    }
}