[ 
https://issues.apache.org/jira/browse/MESOS-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196958#comment-15196958
 ] 

Adam B commented on MESOS-2281:
-------------------------------

Yeah, thanks for the link (to the awesome palindrome RR#). I re-read my 
discussion with BenH there and spoke to Greg about it today, and I'm down for 
using JSON now, if just to be more explicit (aka verbose) about the formatting.
We originally added JSON because we thought we would have separate credentials 
lists for http vs. frameworks, and we still never did that. I proposed an 
alternative where you just use different plaintext files, which could still be 
an option, but json is more explicit.

> Deprecate plain text Credential format.
> ---------------------------------------
>
>                 Key: MESOS-2281
>                 URL: https://issues.apache.org/jira/browse/MESOS-2281
>             Project: Mesos
>          Issue Type: Improvement
>          Components: master, slave
>    Affects Versions: 0.21.1
>            Reporter: Cody Maloney
>            Assignee: Jan Schlicht
>              Labels: mesosphere, security, tech-debt
>
> Currently two formats of credentials are supported: JSON
> {code}
>   "credentials": [
>     {
>       "principal": "sherman",
>       "secret": "kitesurf"
>     }
> {code}
> And a new line file:
> {code}
> principal1 secret1
> pricipal2 secret2
> {code}
> We should deprecate the new line format and remove support for the old format.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to