I am creating a ASP.Net Web API. I also have a commandline tool to connect to this API. I do not want ask user to enter username/password and instead create a one time certificate/key to authenticate.
There is some information about this client authentication in How to do authentication with a REST API right? (Browser + Native clients)
Is there a preferred way for ASP.Net based applications?