question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automate configuring authentication to Azure Artifacts feeds

See original GitHub issue

Is your feature request related to a problem? Please describe. It is very difficult to automate use of Azure Artifacts NPM packages. Human users have to periodically download a credentials file with a relatively short lifespan. More importantly, I have yet to find a way to automate authentication for non-human users using yarn install, such as in a build script.

Describe the solution you’d like az artifacts npm auth --feed <feed> --org <org> should configure the credential file in the current working directory for the current authenticated user.

az artifacts npm auth --feed <feed> --org <org> --auto-renew should configure the credential fille in the current working directory for the current authenticated user and periodically update the credential file to ensure the credential file never expires.

Ideally other package types would support a similar command. For example: az artifacts nuget auth ... would install and configure the Artifacts Credential Provider.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
zarennercommented, Aug 20, 2019

@chriskuech nothing currently in development yet, @elbatk can hopefully speak to timeline.

0reactions
elbatkcommented, Oct 16, 2019

Coming back again, we still don’t have anything on the backlog for xplat vsts-npm-auth. If it were to happen, it would be next quarter but we haven’t planned that yet. I’m going to close this issue with the statement that adding authentication to the CLI is something that I’ve thrown on the backlog for consideration but isn’t high up on our radar currently.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set up your client's npmrc - Azure Artifacts - Microsoft Learn
We recommend using two config files, the first one you should use to authenticate to Azure Artifacts, and the second one should be...
Read more >
How to cleanly automate authentication for Azure Devops ...
To authentication for Azure Devops feeds, you could try to use the NuGet authenticate task, which configure NuGet tools to authenticate with ......
Read more >
Azure Artifacts - External Authentication
The first step is to have a nuget.config file with the feed we want to authenticate. This file needs to be copied into...
Read more >
How to use the Nuget / Azure Artifact credential provider with a ...
A recommended solution is to make use of the Azure Artifacts Nuget Credential Provider – this provider automates the acquisition of credentials ...
Read more >
Authenticate to Azure DevOps private Nuget Feed - Codewrecks
Azure DevOps artifacts are great for hosting your packages, but you can incur in authentication problem in piplines.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found