💡Tip: Why not use dotnet user-secrets for local dev team?
The question arises often, but it’s not team-friendly in an active codebase.
Why?
-
When secrets are added or altered, everyone must be informed of new keys/values.
-
Onboarding means transferring user secrets machine to machine.
The solution? Azure Key Vault for local development.
-
It informs the entire team when a secret is added/changed.
-
Onboarding is simply adding the new member to the Azure Active Directory Group with Azure Key Vault access.
Problem solved!