non-admin users don't get a password and juju gui --show-credentials doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I've created a 2.1beta4 controller on maas and added a new user rharding to the controller. I've granted that user add-model access and that user has added a credential for the maas, and created a new model ricktest on it.
The register command given worked well to setup the controller entry, and the user could pass the credential in to get the model created just peachy. When register was run the user set a password. That password is not in the .local/
guimaas:
user: rharding
last-
When the user runs
juju gui --show-credentials
There is no password output to the user.
Opening the Juju GUI in your browser.
If it does not open, open this URL:
https:/
Username: rharding
Password:
I think that the UX should be able to show the user's password upon request as it does for the admin user.
Changed in juju: | |
status: | New → Incomplete |
Changed in juju: | |
status: | Incomplete → Triaged |
importance: | Undecided → Wishlist |
That would require us to record the password, in plaintext, on the user's filesystem. We specifically avoid doing this.
Can we come up with an alternative solution that doesn't involve the user typing their password into the browser? They're already logged in via the CLI, so they shouldn't need to do that. IIANM, we used to generate a time-limited, single-use token to paste in. Can we bring that back?