Comments (6)
I wrote a very detailed tutorial about this: https://blog.miniasp.com/post/2019/01/16/Setup-Azure-Artifacts-NuGet-Feeds.aspx
from artifacts-credprovider.
@csurfleet Please open PowerShell and run the following command:
$env:VSS_NUGET_EXTERNAL_FEED_ENDPOINTS = '{"endpointCredentials": [{"endpoint":"https://{YourOrg}.pkgs.visualstudio.com/_packaging/{YourProject}/nuget/v3/index.json", "password":"[PAT]"}]}'
dotnet restore
Then you can pass the authentication.
from artifacts-credprovider.
Please also note that CredentialProvider.VSS.exe is a different cred provider. To use this one you can use one of these scripts to install it to the correct location on your machine. Then you should be able to use the VSS_NUGET_EXTERNAL_FEED_ENDPOINTS environment variable. You can create a PAT in your Azure DevOps account https://dev.azure.com//_usersSettings/tokens
from artifacts-credprovider.
For anyone checking this issue and wanting to translate https://blog.miniasp.com/post/2019/01/16/Setup-Azure-Artifacts-NuGet-Feeds.aspx, I did it in Chrome, but needed to manually set the source language to "Chinese (simplified)" as it was not automatically detected
from artifacts-credprovider.
I was misunderstanding the "PAT" means. This are wrong steps.
Also, I realized one thing: This VSS_NUGET_EXTERNAL_FEED_ENDPOINTS
environment variable doesn't apply NuGet.exe
tool. Only for dotnet
tool (.NET CLI).
from artifacts-credprovider.
@doggy8088 Any chance of a version in English? I've tried translation tools but not getting anything useful.
I've tried all this in many permutations over weeks now and I still get errors CURLing from the container to the feed - "The user '' is not authorized to view this resource"
from artifacts-credprovider.
Related Issues (20)
- Azure Artifacts Credential provider failing to start HOT 6
- NullReferenceException in v1.0.9 HOT 3
- Azure Devops: gzip: stdin: unexpected end of file HOT 3
- Problem starting the plugin - Broken Pipe HOT 1
- How to do enhanced debugging? HOT 1
- Issue authenticating to Azure Artifacts via Python behind firewall decryption HOT 1
- Use Windows authentication context from in WSL HOT 6
- System.Security.Cryptography.CryptographicException on remote connections HOT 9
- The last Create 1.1.0 release Build Failed. When v1.1.0 will be released? HOT 6
- The messages logged by the credential providers are not localized. HOT 3
- Inconsistent account selection modal behavior across operating systems HOT 3
- MsalInteractiveTokenProvider breaks if no console window handle available HOT 4
- Artifacts Conda Remove SDK Dependency HOT 2
- Credential provider is not working on new laptop HOT 4
- `JsonException` with Release `1.1.0` when using `VSS_NUGET_EXTERNAL_FEED_ENDPOINTS` HOT 4
- dotnet list <SOLUTION> package --vulnerable/--outdated/--deprecated fails with Azure Artifacts Credential Provider HOT 7
- Are the Requirements Correct? HOT 4
- The proxy tunnel request to proxy failed with status code '407' HOT 1
- .NET 8 is not supported yet
- nuget not prompting for credentials when querying Azure Artifacts feed on WSL HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artifacts-credprovider.