External credential provider support for headers and query string parameters #6574
Labels
Area:Authentication
Area:HttpCommunication
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Status:Excluded from icebox cleanup
Status:Inactive
Icebox issues not updated for a specific long time
Milestone
External credential providers should be able to contribute headers and query string parameters to http requests made by HttpSource to enable auth for additional protocols beyond basic auth.
Auth support in NuGet is currently limited to NTLM and username/password credentials using
NetworkCredential
.https://github.com/NuGet/NuGet.Client/blob/3cfa0d51e338c32aa16ac05098cd7b74d595717c/src/NuGet.Core/NuGet.Protocol/HttpSource/HttpSourceAuthenticationHandler.cs#L70-L71
Examples
Azure uses SAS tokens which are added to the query string
https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1
AWS allows adding an authorization header to requests
https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
The text was updated successfully, but these errors were encountered: