Currently, the only way to login to the Juju 2.0 api is to use the Tag of
'user-admin'. However, all the files created by juju during bootstrap
(accounts.yaml, models.yaml, controllers.yaml) only mention the admin user
as 'admin@local' for the controller.

When will the API login support logging in as the admin user for the
specified controller?

An example of the request being passed to the api server:

{'Type': 'Admin',
 'Version': 3,
 'Request': 'Login',
 'RequestId': 1,
 'Params': {'auth-tag': user,
       'credentials': password}}

user = 'user-admin' and not 'admin@local' as seen in the yaml configs.
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to