How do I specify the PAT to authenticate to a private nuget feed? #1340
-
I know about this command but how do I specify the PAT when it's a private nuget feed? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
So you have to use the dotnet command: |
Beta Was this translation helpful? Give feedback.
-
You can add a PAT inside a nuget.config as well. If you do this in your user-level nuget.config, it will work today, and you don't have to use |
Beta Was this translation helpful? Give feedback.
So you have to use the dotnet command:
dotnet nuget add source https://someServer/myTeam -n MyPrivateNugetPkg -u whatever -p adoPAT