Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arm4b opened this issue Nov 6, 2017 · 0 comments · May be fixed by #563
Open

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

arm4b opened this issue Nov 6, 2017 · 0 comments · May be fixed by #563

Comments

@arm4b
Copy link
Member

arm4b commented Nov 6, 2017

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

[credentials]
username = ${USERNAME}
password = ${PASSWORD}

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant