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

            jtyr Jiri Tyr created issue -
            jtyr Jiri Tyr made changes -
            Field Original Value New Value
            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:

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

            The number of empty elements corresponds with the number of existing credential domains. I would expect to see here at least names of the domains. Could this be added?
            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:

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

            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 made changes -
            Link This issue is related to JENKINS-24631 [ JENKINS-24631 ]
            stephenconnolly Stephen Connolly made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 168390 ] JNJira + In-Review [ 209662 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: