Skip to content

Environment Variable Reference

Posh-ACME supports a few environment variables that can change the module's behavior. Some must be defined prior to the initial import of the module into your PowerShell session. If the module is already loaded when you set them, you can force a reload using Import-Module Posh-ACME -Force.

Here is a reference for what is currently supported.

Name Minimum
Posh-ACME Version
Required at
Module Load
Description
POSHACME_HOME 3.2.0 ✅ Change the default config location. (Guide)
POSHACME_PLUGINS 4.7.0 ✅ Load custom plugins. (Guide)
POSHACME_SHOW_PROGRESS 4.11.0 ❌ Show progress bar during DNS propagation delay timer. Must exist as any non-null or empty value.
POSHACME_VAULT_NAME 4.11.0 ❌ SecretManagement Vault Name to store Posh-ACME secrets. (Guide)
POSHACME_VAULT_PASS 4.11.0 ❌ (Optional) Password required to unlock the vault specified by POSHACME_VAULT_NAME.
POSHACME_VAULT_SECRET_TEMPLATE 4.11.0 ❌ (Optional) Template used to name the Posh-ACME created secrets. Default is poshacme-{0}-sskey and {0} is replaced by a per-account vault GUID.