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

JSON-based credential files do not work correctly

    Details

    • Target Version/s:
    • Sprint:
      Mesosphere Sprint 20, Mesosphere Sprint 21
    • Story Points:
      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

              • Assignee:
                ijimenez Isabel Jimenez
                Reporter:
                mcypark Michael Park
                Shepherd:
                Michael Park
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: