I believe VS2019 has built in support for
ASP.NET Core project has builtin support for "Manage UserSecrets" when installed "Microsoft.Extensions.Configuration.UserSecrets", however it never appear when installed on .NET Core Console Project.
This Extension will offer access UserSecret to .NET Core Console/Generic project, like ASP.NET Core MVC Project has.
You have 2 choice.
How it works
Visual Studio Extensions to manage UserSecret, generate and open UserSecret json.
The Open User Secret makes it easy to manage UserSecrets and work with your .NET Core project.
Right click ib the Project in Solution Explorer. You will find "Open UserSecret" in the Context menu and UserSecret's secret.json will be open in Visual Studio.
For more information about the extension, visit https://github.com/guitarrapc/OpenUserSecrets
What extension manage
Why Microsoft.Extensions.Configuration.UserSecrets package not found message shown on output window?
See https://github.com/guitarrapc/OpenUserSecrets/releases for detail.