Generate an API key for VSTS package manager -


i use paket dependency management tool , starting use visual studio online (vso) host source , building.

when paket restore (or try upload nupkg) 401. vsts uses credential manager seems generate unique password each time it's run. suppose write powershell script execute credential manager.exe , pull out password/username set paket before doing restore ideally i'd create specific user (and password) feed only, or generate api key. know if possible?

paket supports provide username , password in paket.dependencies file, can create personal access token packaging scope (e.g. packaging (read , write)), specify in paket.dependencies file, example:

source [your feed url] username: "[anything, such test]" password: "[personal access token]"  nuget [library] 

more information: plaintext-credentials


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -