Discussion:
How to get started on JAAS with Azure?
Merlijn Sebrechts
2017-11-23 21:03:03 UTC
Permalink
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
Uros Jovanovic
2017-11-24 08:04:42 UTC
Permalink
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 <
Post by Merlijn Sebrechts
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
Modify settings or unsubscribe at: https://lists.ubuntu.com/
mailman/listinfo/juju
Loading...