Logging into the API on Juju 2.0

Adam Stokes adam.stokes at canonical.com
Fri Feb 26 17:09:29 UTC 2016


Also, will the API support non admin users to login and query the various
modelmanager methods they have access to? If so, will this be available by
GA release?

On Fri, Feb 26, 2016 at 11:45 AM, Adam Stokes <adam.stokes at canonical.com>
wrote:

> 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 at 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 at local' as seen in the yaml configs.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160226/729dd54f/attachment.html>


More information about the Juju mailing list