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

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

    XMLWordPrintable

Details

    Description

      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?

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

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

              Dates

                Created:
                Updated:
                Resolved: