Skip to content

Using verdaccio with a private Azure Feed #3307

Answered by gentoo90
lucassarcanjo asked this question in Q&A
Discussion options

You must be logged in to vote

It's done with basic authentication. You need to take your personal access token from the Azure settings page and convert it to the basic auth header like this:

echo -n 'VssSessionToken:<YOUR_PAT>'|base64 -w 0

and then insert the output of that into the token field of the Verdaccio config:

uplinks:
  private:
    url: https://private-registry.domain.com/registry
    auth:
      type: basic
      token: "<THE_BASIC_AUTH_BASE64>"

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by juanpicado
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment