Configuración del servidor Nuget

I am trying to setup a private nuget server in my company, and there will be different group of people using it.

I noticed that there is an entry in web.config to set a shared API key for publishing an package.

Is there a way of setting up different api keys for every user? Thanks.

preguntado el 01 de febrero de 12 a las 03:02

3 Respuestas

The easiest way of creating API keys is to ask each user to register themselves via the web front-end.

The instructions are basically those here: http://haacked.com/archive/2011/01/12/uploading-packages-to-the-nuget-gallery.aspx although of course the users will use an internal URL, not http://nuget.org/

Less work for you, and users get an introduction to NuGet Gallery!

contestado el 16 de mayo de 12 a las 01:05

If you want to have API keys for each user like the public NuGet gallery does, you'll need to run your own internal Galería de NuGet. The instructions in NuGet's documentation has a walkthrough of getting this set up. It uses Orchard for the gallery.

Respondido el 01 de junio de 12 a las 20:06

Just FYI, you could also save yourself the trouble and get you a private MyGet feed using one of the 3 subscription based plans (or the cheap Plan de empresa might sound useful to you). MyGet by default gives every user his own personal API key. There's also a free public plan.

MyGet user-specific API key

Respondido 16 Jul 12, 22:07

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.