Github user geomacy commented on the issue:

    https://github.com/apache/brooklyn-client/pull/42
  
    hi all,
    
    I have made a bunch of updates to address the above comments and add some 
further functionality.
    
    The main change is the simplification of the `.brooklyn_cli` file format, 
from 
    ```json
    {
      "auth": {
        "http://geoffs-macbook-pro.local:8081": {
          "password": "password",
          "username": "geoff"
        },
        "http://localhost:8081": {
          "password": "password",
          "username": "geoff"
        }
      },
      "skipSslChecks": false,
      "target": "http://geoffs-macbook-pro.local:8081";
    }
    ```
    
    to 
    ```json
    {
        "credentials": "Z2VvZmY6cGFzc3dvcmQ=",
        "skipSslChecks": false,
        "target": "http://geoffs-macbook-pro.local:8081";
    }
    ```
    Note it now uses base64 to avoid characters in the password possibly 
causing problems with parsing the file.
    
    There is also now a `logout` command that removes the `.brooklyn_cli` file, 
and a `server` command that shows you what server you are logged into.
    
    Would appreciate another round of review.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to