Closed
Description
Current configuration techniques (App.config / Web.config / evolve.json) have you hardcode connection string into a file that will likely be committed to source control. This is not desirable since the connection string contains credentials. It would be great to be able to provide certain configuration via environment variables, for example:
DB_USER=my-user DB_PASSWORD=password dotnet build
This can be achieved programmatically using in-app mode, but it would be nice to have this option for other modes.
Alternatively, a CLI that accepts connection string parameters would also meet this need.