Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. ivan.magdolen_6846
    I
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    ivan.magdolen_6846

    @ivan.magdolen_6846

    0
    Reputation
    3
    Posts
    1
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    ivan.magdolen_6846 Follow

    Best posts made by ivan.magdolen_6846

    This user hasn't posted anything yet.

    Latest posts made by ivan.magdolen_6846

    • RE: Access Proget Feed under system (computer) account

      Hello @atripp,
      I am able to add "Domain Computers" so group is returned by LDAP query, but it doesn't work. Same when I've created security group and add computer account to members. Still I am not able to reach Proget Feed under system account. I got following message: Invalid credentials specified.
      f689fac5-837b-491d-beae-429872fac35e-Error1.PNG
      But when I add to Feed "Anonymous" - View & Download Packages I am able to reach the feed.

      When I've tried to reach Feed under computer account on Proget server I got following message. Then I've added anonymous
      See picture below
      fa840e5d-b2ab-499d-a015-5ad4ba1ca2db-Error.PNG

      Kind regards
      Ivan

      posted in Support
      I
      ivan.magdolen_6846
    • Access Proget Feed under system (computer) account

      Hi,

      is it possible to access Proget Feed under system account when Windows Integrated Authentication is enabled on Proget ? I've tried to add Domain Computers with View & Download packages permissions but this didn't work. We need to be able to access Proget Feed (which is configured as a source in choco config) under system account because DSC is running under system. When I've added Anonymous to View & Download packages it works but this is not really the preferred and manageable way.
      Thank you for your answer.

      Kind regards
      Ivan

      posted in Support
      I
      ivan.magdolen_6846
    • Create System API key via API

      Hello,

      is there a way how to create API key (key type = System with all permissions) via API or somehow automatically ?
      I found following native API:
      ApiKeys_CreateOrUpdateApiKey

      f952f901-1684-47d8-9e2c-fc9115f4e934-image.png

      but when I tried to use this code (powershell):
      $conf = '<Inedo.ProGet.ApiKeys.ApiKey Assembly="ProGetCoreEx"><Properties AllowPackagePromotionApi="False" AllowRepackagingApi="False" AllowFeedManagementApi="False" AllowWebhooksApi="True"
      AllowConnectorHealthApi="True" AllowFeedsApi="True" AllowDockerBlobReaderApi="False" AllowSbomApi="True" AllowSbomUpload="True" UseApiKeyTasks="False" AllowNativeApi="True"
      DoNotLogRequest="True" DoNotLogResponse="True" /></Inedo.ProGet.ApiKeys.ApiKey>'
      $URL = "http://<myservername>/api/json/ApiKeys_CreateOrUpdateApiKey"
      $body = @{
      ApiKey_Text = "<my new API key>";
      ApiKey_Configuration = $conf;
      ApiKey_Name = "TestKeyName";
      #ApiKey_Id = "2";
      ApiKey_Description = "Description API Key"
      }
      Invoke-RestMethod -Method Post -Uri $URL -Body ($body | ConvertTo-Json) -ContentType "application/json"

      I got following error
      30ac21b1-967e-4391-afc9-280c7da0e019-image.png

      so it seems I need some API key to create another API key.
      The purpose of this is to fully automate installation and configuration of Proget and avoid manual configuration of API key in Proget GUI.
      Once API key is created I would like to use that API for configuration of Feeds and Connectors.
      Thank you for your response.

      Kind regards
      Ivan Magdolen

      posted in Support
      I
      ivan.magdolen_6846