-
Notifications
You must be signed in to change notification settings - Fork 276
Open
Labels
Lift5Features/Changes for Lift 5Features/Changes for Lift 5
Description
Lift's properties/configuration mechanism is based on named files. However, this means storing secrets (e.g., DB credentials, etc.) in files and potentially checking those files into source control systems. Yikes!!
The industry is moving to using Env Vars for configuration/secrets.
The proposal is to extend Lift's configuration system to support referencing Env Vars from configuration files (Rust has an env!(...) macro.
Thus if a line in a configuration file looks like:
foo.bar.baz=env!("VAR_NAME")
Lift's configuration system will read the env var and if the env var isn't define, the config system will throw an exception which will halt the Lift boot cycle.
Metadata
Metadata
Assignees
Labels
Lift5Features/Changes for Lift 5Features/Changes for Lift 5
Type
Projects
Status
Proposed