✅ 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
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.
Thank you.
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
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•13mo ago
Message Not Public
Sign In & Join Server To View
modern dotnet config
Such as?
Mostly the biggest one I see is sharing secrets across projects for local dev
As in you can do that by setting them to use the same secret ID?
yeah
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
I some respects yeah, this was short sighted to some extent
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
In autocorrect typos
Unknown User•13mo ago
Message Not Public
Sign In & Join Server To View
yepper
We have some common structures for configuration for instance
conventionally
for enterprises it only make sense