Through Identity manager and SSO with macaroons. You'll have them in
~/.go-cookies and ~/.local/share/juju/usso-store-token (or something like
that).

Feel free to ask in #jaas

On Fri, Nov 4, 2016 at 6:51 PM, Tim Van Steenburgh <
[email protected]> wrote:

> If I `juju register` a shared controller and add a model to it, how does
> the juju client authenticate to that model, since AFAICT there is no
> password locally? I'm asking b/c I need to be able to make other clients
> (python) work for this case. For the heck of it I tried with a blank
> password but got the (unexpected?) error below:
>
> 2016-11-04 12:07:42 [DEBUG] jujuclient.connector: Connecting to wss://
> 162.213.33.28:443/model/5ce2c723-7db5-4ed7-801c-210250f244dc/api
> 2016-11-04 12:07:43 [DEBUG] jujuclient.rpc: rpc request:
> {
>   "request": "Login",
>   "type": "Admin",
>   "params": {
>     "credentials": "",
>     "auth-tag": "user-tvansteenburgh@external"
>   },
>   "version": 3,
>   "request-id": 1
> }
> 2016-11-04 12:07:43 [DEBUG] jujuclient.rpc: rpc response:
> {
>   "request-id": 1,
>   "response": {},
>   "error": "redirection required",
>   "error-code": "redirection required"
> }
>
> TIA,
>
> Tim
>
> --
> Juju mailing list
> [email protected]
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to