Manage Secrets in DotNet 6

preview_player
Показать описание
Комментарии
Автор

Thanks for the vid! How would you deploy this sort of thing to production though? (say you just have an install folder with dlls and executables)

LindenMikus
Автор

Thank you for this. So much of the available documentation seems to be written for .net 5 where you have a Startup.cs etc.

lnpzgir
Автор

So after you retrieve the password and store it in secretVar, how would you make it available outside of program.cs?

JayJay-nbsv
Автор

Since the secrets are stored on your local machine how do you handle releases?

jamaicantillidie
Автор

Thank you for the lesson on this but what I am trying to do is, what if you wanted to makes changes and save to usersecrets.json. For example, a configuration UI that I built in Web API, where the customer can set their own SQL connection parameters for: SQL Server, Database Name, Authentication Type, SQL User, SQL Pass and when they hit save, save the connection string into usersecrets.json. I have it working for saving the customer input fields to appsettings.json but can I do something similar to usersecrets.json? Thanks :D

muttBunch