-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication Error on internal nuget-Feed #46
Comments
@MarcelBochtler @mnonnenmacher did you happen to test authentication with nuget-inspector in ORT context? |
Yes we tested this. <?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSourceCredentials>
<MyPrivatePackageSource>
<add key="Username" value="myuser" />
<add key="ClearTextPassword" value="..." />
</MyPrivatePackageSource>
</packageSourceCredentials>
</configuration> Then nuget-inspector was able to use It should also be possible to place such a file into your repository directly. |
@chrisdecker1201 Thanks for the report! The authentication should work using the standard .NET authentication way, meaning using a nuget.config as kindly pointed by @MarcelBochtler At this stage we have not implemented specific support for Azure credential provider https://github.com/microsoft/artifacts-credprovider which is a plugin for the NuGet client Now I do not have a way to test this as I do not have access to private feeds but it could be working since we reuse all the same libraries that NuGet uses internally. I wonder if any of these can help https://github.com/dotnet/dotnet-docker/blob/main/documentation/scenarios/nuget-credentials.md#using-the-azure-artifact-credential-provider and https://learn.microsoft.com/en-us/azure/devops/artifacts/nuget/dotnet-setup?view=azure-devops Some things that could help diagnose the issue:
|
Hi 😉,
I'm getting an authentication error (see below) and hope you can help me.
We use an "internal" Azure Artifact Feed for consuming our and other nuget-packages. To use this, you've to be authenticated, which is "normally" no issue inside a pipeline. Azrue DevOps use a CredentialProvider, which allows you to automatically get nuget packages from the "internal" feed.
The text was updated successfully, but these errors were encountered: