Microsoft certificate management via the Pki PowerShell module.
platform: | Windows |
---|
New in version 2016.11.0.
Import the certificate file into the given certificate store.
Parameters: |
|
---|
Example of usage with only the required arguments:
site0-cert-imported: win_pki.import_cert: - name: salt://win/webserver/certs/site0.cer
Example of usage specifying all available arguments:
site0-cert-imported: win_pki.import_cert: - name: salt://win/webserver/certs/site0.pfx - cert_format: pfx - context: LocalMachine - store: My - exportable: True - password: TestPassword - saltenv: base
Remove the certificate from the given certificate store.
Parameters: |
---|
Example of usage with only the required arguments:
site0-cert-removed: win_pki.remove_cert: - thumbprint: 9988776655443322111000AAABBBCCCDDDEEEFFF
Example of usage specifying all available arguments:
site0-cert-removed: win_pki.remove_cert: - thumbprint: 9988776655443322111000AAABBBCCCDDDEEEFFF - context: LocalMachine - store: My
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.win_pki.html