Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Proget api key for reading a particular feed?



  • Is it possible to configure proget as a whole, or a particular feed to require an api key to read packages? I would like to make one of our feeds require some sort of security for connecting. Publishing already has a key, but I'd like the option to restrict reading. If we enable active directory, is there a way to still use both/either? I need my build system to be able to pull from the "protected" feed and don't think I can provide credentials other than an api key when doing that.


  • inedo-engineer

    Hello,

    I think what you are trying to do can be accomplished by adding a restriction for "View & Download Packages" to "any" feed for "Authenticated" users. Then add whatever permission to the API user. Use the Test Privileges button to verify.

    92ad03ea-b42d-411b-bd45-e1afd1f6d5fc-image.png
    Thanks
    Jason



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation