How to get started on JAAS with Azure?

Uros Jovanovic uros.jovanovic at canonical.com
Fri Nov 24 08:04:42 UTC 2017


Hi Merlijn,

You're right that the experience in the GUI is far from intuitive or easy.
Unfortunately a lot of it comes from the current limitation on Azure where
3rd party clients (like JAAS and Juju client) can't yet get access to list
all your subscriptions to choose from. This is also the reason why in CLI
you have to perform "az login" first before starting the interactive
credentials process.

One way to handle JAAS Azure credentials is to get credentials via the
interactive process in the CLI, and then while still in the CLI creating an
empty model in JAAS using those credentials. This will cache the
credentials in JAAS controllers and next time you want to use the GUI, they
will be listed as creds that can be reused and you won't have to reenter
them.

We'll look into updating the documentation. Although we're working with
Microsoft to resolve the limitation, for now 3rd party clients don't have
access in Azure to make the process seamless as we'd like it to be.


On Thu, Nov 23, 2017 at 10:03 PM, Merlijn Sebrechts <
merlijn.sebrechts at gmail.com> wrote:

> Hi all
>
>
> I haven't been able to figure out a non-hacky way to get started on JAAS
> with Azure.
>
> What I did currently is to follow all the steps listed here in the docs
> [1], cat `~/.local/share/credentials.yaml` and use the Azure credential
> to fill in the form in the JAAS UI. This works but there must be an easier
> way, no? If not, can we document this workaround so users new to Juju know
> how to set it up?
>
>
>
>
> Kind regards
> Merlijn
>
> [1] https://jujucharms.com/docs/stable/help-azure
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171124/c9b89b1d/attachment.html>


More information about the Juju mailing list