Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Environment Variable Configuration

All of the values defined in the Json config file can also be defined as environment variables. This functionality is provided by the default dotnet IConfiguration interface.

The variables use the following convention, note the use of both single and double underscores:

AMBIENTWEATHER_CONFIGSECTION__CONFIGPROPERTY=value

AMBIENTWEATHER_OBSERVABILITY__METRICS__ENABLED=true