Reads configuration from environment variables.
The zero-config default source. With a prefix, only matching variables are kept and the prefix is stripped (APP_DB_URL -> DB_URL).
prefix
APP_DB_URL
DB_URL
The source options.
Readonly
A human-readable name (e.g. env, file, ssm).
env
file
ssm
Static
Create an environment source.
A new source.
Reads configuration from environment variables.
The zero-config default source. With a
prefix, only matching variables are kept and the prefix is stripped (APP_DB_URL->DB_URL).