Managing User Secrets
Last updated
Was this helpful?
Last updated
Was this helpful?
During development it is recommended to store connection strings, salts, or other secrets in a secure manner. It is best to avoid storing these secrets in the code or local configuration files.
In .NET Core, you will want to take advantage of the secrets manager. You can find more information here:
In Visual Studio 2019, you can access these via right-click on your project and select Manage User Secrets.
In Visual Studio Code, you can install the following extension to get the same behavior: