-
Notifications
You must be signed in to change notification settings - Fork 730
Description
[Moving from https://github.com/microsoft/artifacts-keyring/issues/100]
It is very difficult to debug authentication issues, especially with pip install flows in ADO pipelines or Docker build because getting a -V Verbose into the Credential Provider command line is impossible given that it is the python code from artifacts-keyring package which launches the Credential Provider.
To help debugging in these cases, I suggest adding a new environment variable NUGET_CREDENTIALPROVIDER_VERBOSITY_DEFAULT which (if set) would provide the default for the -Verbosity or -V command line option.
This means to debug authentication failures, just setting
NUGET_CREDENTIALPROVIDER_VERBOSITY_DEFAULT=Verbose should be enough to get a hint as to what's going wrong.