juju / python-libjuju

Python library for the Juju API
Apache License 2.0
60 stars 101 forks source link

[feature] Generate registration strings when adding users #269

Closed aieri closed 2 years ago

aieri commented 5 years ago

When running juju add-user on the CLI, a registration string is generated, but doing the equivalent in libjuju does not. The registration string is a convenient way to enlist new users because:

I would be very convenient if juju.controller.Controller.add_user returned a registration string, or if there was another way to retrieve it.

aieri commented 5 years ago

Implemented by #279