Skip to content

suggestion: new env var to control default verbosity #579

@austindonnelly

Description

@austindonnelly

[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis hasn't had any recent activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions