I'm very familiar with how to create and manage user secrets in Visual Studio by right clicking the project in the solution explorer. And managing the
Is there a way to do this in VS Code?
Does it matter if it's on a Mac?
Is there an extension that will provide a similar experience?
In Visual Studio, right-click the project in Solution Explorer, and select Manage User Secrets from the context menu. This gesture adds a UserSecretsId element, populated with a GUID, to the project file.
By far the easiest way to use User Secrets is via Visual Studio. Right click your entry project and select “Manage User Secrets”. Visual Studio will then work out the rest, installing any packages you require and setting up the secrets file! Easy!
Your secrets are stored in a JSON file under your user profile. In a Windows machine, they are stored in the %APPDATA%\Microsoft\UserSecrets\<user_secrets_id>\secrets. json file.
Download extension i.e .NET Core User Secrets.Then right click on .csproj file of your project to get Manage user secrets file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With