chocolateyToken top-level property
The Chocolatey API key (available from the Chocolatey website and the
choco apikey
command) to use when creating releases and making other
changes.
Do not check this in directly. This should only come from secure sources.
By default this comes from the CHOCOLATEY_TOKEN
environment variable.
Implementation
final chocolateyToken = InternalConfigVariable.fn<String>(() =>
Platform.environment["CHOCOLATEY_TOKEN"] ??
fail("pkg.chocolateyToken must be set to deploy to Chocolatey."));