<div dir="ltr">Hi Merlijn, <div><br></div><div>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. </div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 23, 2017 at 10:03 PM, Merlijn Sebrechts <span dir="ltr"><<a href="mailto:merlijn.sebrechts@gmail.com" target="_blank">merlijn.sebrechts@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all<div><br></div><div><br></div><div>I haven't been able to figure out a non-hacky way to get started on JAAS with Azure.</div><div><br></div><div>What I did currently is to follow all the steps listed here in the docs [1], cat `~/.local/share/credentials.<wbr>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?</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Kind regards</div><div>Merlijn</div><div><br></div><div>[1] <a href="https://jujucharms.com/docs/stable/help-azure" target="_blank">https://jujucharms.com/<wbr>docs/stable/help-azure</a></div></div>
<br>--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/juju</a><br>
<br></blockquote></div><br></div>