How To Keep SECRET Strings REALLY SECRET in ASP.NET Core?

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • We often need to work with secret strings in ASP.Net Core. This includes information like connection strings, passwords, API keys and other type of configuration information that our systems might use. Unfortunately, we often place these string in the appsettings.json file. Which is bad, because that file is part of the source control. So, how can we keep secret strings really secret in ASP.NET Core? In this video you'll get a detailed answer.
    #aspnetcore #dotnet
    Join this channel to get source code access and other perks:
    / @codewrinkles
    Content
    1. Intro: 00:00
    2. Asp.Net Core configuration: 00:52
    3. Configuration in appsettings.json: 03:31
    4. Configuration in environment variables: 04:07
    5. Configuration in CLI arguments: 05:11
    6. Configuration order matters! 06:34
    7. Connection string in appsettings? No, thanks! 08:54
    8. User secrets to the rescue! 10:28
    9. Deployment considerations: 13:17
  • Věda a technologie

Komentáře • 37