Ubuntu dotnet user-secrets

.net-core, dotnet-cli

Solution

To use the Secret Manager in .NET Core, you will have to install it to the project:

- Add the line `Microsoft.Extensions.SecretManager.Tools` to the `tools` section of your `project.json`

- Run `dotnet restore`

You can find more information about it in the official .NET documentation.

Problem

I installed dotent core on Ubuntu v16.04. Problem is when I try to use `dotnet user-secrets` it says: `No executable found matching command "dotnet-user-secrets"` dotnet core version: `1.0.0-preview2-003131` dotnet screenshot:

Original source