Home: Add support for HTTP Authorization header

Created on 10 Aug 2017  路  3Comments  路  Source: NuGet/Home

Feature request

NuGet product used: NuGet.exe | dotnet.exe
NuGet version (x.x.x.xxx): any
dotnet.exe --version (if appropriate): any

We'd like to have the ability to add a single-use token (provided by the VSTS Team Build system) into the HTTP Authorization header for restore and push requests. In our flows, the build agent already handles authorization and has a token that other tools (e.g. Git.exe) already use when accessing VSTS resources.

Most helpful comment

Can't you use an API key for this? Already supported in all NuGet versions.

All 3 comments

Can't you use an API key for this? Already supported in all NuGet versions.

@alexmullans can you explain what would be needed from nuget for this? An extension point for injecting headers provided by the current credential provider extension points?

We discussed more internally, it looks like we'll continue to use the Credential Provider rather than this header.

Was this page helpful?
0 / 5 - 0 ratings