StackStorm/st2-packages

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

开放

#520 创建于 2017年11月6日

 (0 条评论) (0 个反应) (0 位负责人)Shell (63 个派生)auto 404
bash installerenhancementgood first issue

仓库指标

星标
 (28 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南