This functionality is experimental and may be changed or removed completely in a future release.
VAR is the name of the environment variable.
Each variable reference is replaced at startup by the value of the environment
variable. The replacement is case-sensitive and occurs while the YAML file is
parsed, but before configuration schema validation. References to undefined
variables are replaced by
None unless you specify a default value. To specify
a default value, use:
default_value is the value to use if the environment variable is
Unsupported use cases
When using environment variables, the value must only be the environment variable.
Using extra text, such as:
is not supported at this time.
Here are some examples of configurations that use environment variables and what each configuration looks like after replacement:
|Config source||Environment setting||Config after replacement|