Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3560

JSON-based credential files do not work correctly

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 20, Mesosphere Sprint 21
    • 1

    Description

      Specifying the following credentials file:

      {
        “credentials”: [
          {
            “principal”: “user”,
            “secret”: “password”
          }
        ]
      }
      

      Then hitting a master endpoint with:

      curl -i -u “user:password” ...
      

      Does not work. This is contrary to the text-based credentials file which works:

      user password
      

      Currently, the password in a JSON-based credentials file needs to be base64-encoded in order for it to work:

      {
        “credentials”: [
          {
            “principal”: “user”,
            “secret”: “cGFzc3dvcmQ=”
          }
        ]
      }
      

      Attachments

        Issue Links

          Activity

            People

              ijimenez Isabel Jimenez
              mcypark Michael Park
              Michael Park Michael Park
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: