…will set the value of :password to the value of the $LEIN_PASSWORD env var.
Let's use a namespaced keyword there (perhaps requiring it?) in order to specify the env var name to use for each value. The example above would become:
This will allow different sets of credentials to be loaded from the environment even if they all use :password, e.g. :env/repo1-password, :env/repo3-username, etc.
Currently, you can use
:env
to specify that a value in a repository map should be pulled from the environment. e.g. this:…will set the value of
:password
to the value of the$LEIN_PASSWORD
env var.Let's use a namespaced keyword there (perhaps requiring it?) in order to specify the env var name to use for each value. The example above would become:
This will allow different sets of credentials to be loaded from the environment even if they all use
:password
, e.g.:env/repo1-password
,:env/repo3-username
, etc.