StackStorm/st2-packages

Use 'st2 login' instead of modifying '~/.st2/config'

Offen

#520 geöffnet am 06.11.2017

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Shell (63 Forks)auto 404
bash installerenhancementgood first issue

Repository-Metriken

Stars
 (28 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Current installer writes the username/password pair in ~/.st2/config.

https://github.com/StackStorm/st2-packages/blob/480f09944e4a22125d2d8f372aae6506fd451a25/scripts/st2bootstrap-deb.sh#L322-L324

The new way is to use st2 login --save-password which is more smart and really authenticates and saves credentials.

Bonus: Apply the same enhancement to ansible-st2.

Contributor Guide