C
C#12mo ago
Vernon

✅ Where should I store all the sensitive file on .NET project?

Hello everyone, May I know where should I store all the credential files that needs to be used by .NET Project? Example like the service_account.json that generates by Google Service Account? It would be great if there's an tutorial about this.
17 Replies
jcotton42
jcotton4212mo ago
For development user secrets works quite well https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets
Safe storage of app secrets in development in ASP.NET Core
Learn how to store and retrieve sensitive information during the development of an ASP.NET Core app.
Vernon
VernonOP12mo ago
Thank you.
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Mayor McCheese12mo ago
There's a lot of nuance to user secrets too that you might not be aware of; some of which are clear, and others which are practices.
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Mayor McCheese12mo ago
modern dotnet config
jcotton42
jcotton4212mo ago
Such as?
Mayor McCheese
Mayor McCheese12mo ago
Mostly the biggest one I see is sharing secrets across projects for local dev
jcotton42
jcotton4212mo ago
As in you can do that by setting them to use the same secret ID?
Mayor McCheese
Mayor McCheese12mo ago
yeah
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Mayor McCheese12mo ago
I some respects yeah, this was short sighted to some extent
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Mayor McCheese12mo ago
In autocorrect typos
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Mayor McCheese
Mayor McCheese12mo ago
yepper We have some common structures for configuration for instance conventionally for enterprises it only make sense
Want results from more Discord servers?
Add your server