Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32726

List of credential domains doesn't show any details via API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • credentials-plugin
    • None

      There is no way how to get list of existing domains from the Credentials Plugin via API. When accessing the API URL (http://localhost:8080/credential-store/api/json?pretty=true&depth=10), only empty domain elements are shown:

      {
        "store" : {
          "domains" : [
            {
              
            },
            {
              
            }
          ]
        }
      }
      

      The number of empty elements correspond with the number of existing credential domains. I would expect to see here at least names of the domains. Could this be added?

            stephenconnolly Stephen Connolly
            jtyr Jiri Tyr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: