juju register without prompts

Bug #2019849 reported by James Page
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju

Bug Description

As part of Sunbeam multi-node deployments, we create a new Juju user for each node in the deployment in order for it to interact with the various models and applications deployed.

As part of this setup process we currently use the juju register command with the token generated for the new user to setup per-node access on each machine - this currently requires parsing of the prompts that this command uses for:

r"Enter a new password"
r"Confirm password"
r"Enter a name for this controller"

This is somewhat brittle as if any of these prompts change, the code will fail to parse the interactive part of the new user access setup.

Please could we have a way to pass this information without to Juju - maybe via a file that is passed as a command line argument to avoid exposing sensitive credentials on the process execution.

Revision history for this message
Vitaly Antonenko (anvial) wrote :

Hi James,

It looks like a potential feature for future cycle.

tags: added: register security
Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → 4.0-beta2
Changed in juju:
milestone: 4.0-beta2 → 4.0-beta3
Changed in juju:
milestone: 4.0-beta3 → 4.0-beta4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.