GoldSim / Website

Source code for the GoldSim.com website
https://www.goldsim.com/
3 stars 1 forks source link

Migrate `ConnectionStrings.config` to `secrets.json` file #8

Closed JeremyCaney closed 4 years ago

JeremyCaney commented 5 years ago

Currently, the ConnectionStrings.config is .gitignore’d in order to ensure that the database password is not exposed publicly. Since we’re hosting on Azure Web Apps, however, a more elegant approach is to use the new(er) secrets format—which reads from the secrets.json in the /Users directory in development, and from Azure’s Connection Strings configuration on the server.

Steps

This is associated with the .NET Core 3.x Migration project—but, technically, it can be done at any time.