The purpose of the nuget_credentialproviders_path setting is to allow users to install custom credential provider assemblies in a specific directory, which are then used by NuGet to authenticate with package sources. This setting is useful for organizations that use custom authentication mechanisms or want to manage credentials centrally.
: If you are still being prompted for credentials despite setting the path, you can run your command with increased verbosity ( dotnet restore -v n ) to see where NuGet is looking for plugins. nuget_credentialproviders_path
In environments like Azure Pipelines or Jenkins, you can point NuGet to a specific directory containing the Azure Artifacts Credential Provider without installing it globally. nuget_credentialproviders_path