I have a challenge for myself… I utilize JAAS in order to stand up services in AWS… everything there works great… BUT
I have a custom webapp of my own which I want to eventually push commands to JAAS in order to run certain actions (first in a dev, then in a prod model)
I see the JS and Python libjuju … but nowhere do I see utilization of those to connect to something remotely hosted like the JAAS controller… in order to use these must I have whatever system I am using to run my webapp ALSO connected to and running Juju on the JAAS controller already? I noticed theres an authentication step so will libjuju somehow bypass this like a service user or…? will it not work at all?
Maybe I missed it but this is where I was looking at examples so far
According to these posts, others are indeed attempting to do this exact same flow…
https://github.com/juju/python-libjuju/issues/221 (cannot upload local charms, not an issue for me but good to know)
https://github.com/juju/python-libjuju/issues/159 (calls out need for support for JAAS specific commands, this might be answering my last question above if this is working smoothly)
Seems I just need to try it… and see if the patches mentioned in 2020 have made it into the mix (I imagine they have)
So I guess js-libjuju should in theory be perfect if I am in my webapp and want to orchestrate on JAAS?