Throughout this book, I've used sensitive data, a.k.a. secrets, for example, connection strings that may have been used to connect to a database, an APM, etc. The easiest way to make these secrets available is to save them in application configuration files named by environment (appsettings.json, appsettings.dev.json, appsettings.prod.json, a dedicated configuration file for each environment) and then push all these files into the GIT repository. GIT is a source code ...
9. Managing Application Secrets
Get Coding Clean, Reliable, and Safe REST APIs with ASP.NET Core 8: Develop Robust Minimal APIs with .NET 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.