base64 encode passwords and simplify .brooklyn_cli structure
authorGeoff Macartney <geoff.macartney@cloudsoftcorp.com>
Wed, 24 May 2017 11:49:56 +0000 (12:49 +0100)
committerGeoff Macartney <geoff.macartney@cloudsoftcorp.com>
Tue, 4 Jul 2017 10:06:00 +0000 (11:06 +0100)
commit2ec78dd09b5b342a219bc085028ae78c5bcfc73c
treeb058527ed6964b38f798e00ba7e0753c197e1533
parent6b7970e1459b10770a8a528e498f6515892b18b8
base64 encode passwords and simplify .brooklyn_cli structure

Includes support for old style .brooklyn_cli format such that it will
read credentials from the old style and use them, but overwrite with
the new style on next login.

New style looks like:
{
  "credentials": {
    "password": "cGFzc3dvcmQ=",
    "username": "geoff"
  },
  "skipSslChecks": false,
  "target": "http://geoffs-macbook-pro.local:8081"
}
cli/br/brooklyn.go
cli/commands/login.go
cli/io/config.go