Print actual used auth method in `st2 login` output
Open
@Mierdin is already working on this.
Since Apr 4, 2017.
enhancement
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
On st2 login, user should be informed which auth config is used. Currently, in docs, it says there's a precedence from config file, env, CLI args. if multiple is set, it would be nice to print a note after login which cred was used.
Should also modify st2 whoami to also look at other auth methods like ST2_AUTH_TOKEN environment variable, so that if it differs from what's configured in the config file, the user can be notified of a potential discrepancy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.