Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18590

Allow generating credentials file for the gem repository when using the client cert authentication via cURL

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: 4 - Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API Key, RubyGems
    • Labels:
      None

      Description

      Allow generating credentials file for the gem repository when using the client cert authentication via cURL to a Artifactory that is setup with HTTP SSO. Currently the REST API to create the credentials file for Rubygems repository only works with username and password.

      With cURL it is possible to authenticate to Artifactory that is using HTTP SSO if you pass the cert and key. This means in Artifactory we should be able to get the HTTP SSO user based on the successful auth request with cURL and generate the "credentials" file for the Rubygems repositories. For example below is an API call for generating the "credentials" file when using HTTP SSO method, but please note that this currently fails.

       

      curl –key key.pem --cert cert.pem https://<server_name>/api/gems/gems/api/v1/api_key.yaml

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            nihalc@jfrog.com Nihal Reddy Chinna Choudhary
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Sync Status

                Connection: RTFACT Sync
                RTMID-18590 -
                SYNCHRONIZED
                • Last Sync Date: