azure-devops-dotnet-samples icon indicating copy to clipboard operation
azure-devops-dotnet-samples copied to clipboard

Non-interactive login to the API via PAT and basic authentication?

Open drauch opened this issue 6 years ago • 0 comments

If we want to query the API in a non-interactive way (in a background service), what's the recommended way of authenticating?

We're currently saving a personal access token (PAT) of a user in the configuration and use HTTP basic authentication (username=, password=<PAT>) to authenticate. Is this the way to go?

Best regards, D.R.

drauch avatar Jul 04 '19 08:07 drauch