StackStorm / StackStorm/st2

Print actual used auth method in `st2 login` output

Open
#3,245 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.