Project: mesos
Issue MESOS-3560: JSON-based credential files do not work correctly
Specifying the following credentials file: {code} { “credentials�?: [ { “principal�?: “user�?, “secret�?: “password�? } ] } {code} Then hitting a master endpoint with: {code} curl -i -u “user:password�? ... {code} Does not work. This is contrary to the text-based credentials file which works: {code} user password {code} Currently, the password in a JSON-based credentials file needs to be base64-encoded in order for it to work: {code} { “credentials�?: [ { “principal�?: “user�?, “secret�?: “cGFzc3dvcmQ=�? } ] } {code}
Story points: 1