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

Improve UI for v1 auth create CLI command #19933

Closed
stuartcarnie opened this issue Nov 8, 2020 · 0 comments · Fixed by #19935
Closed

Improve UI for v1 auth create CLI command #19933

stuartcarnie opened this issue Nov 8, 2020 · 0 comments · Fixed by #19935
Labels
area/2.x OSS 2.0 related issues and PRs team/compute

Comments

@stuartcarnie
Copy link
Contributor

What

The influx v1 auth create command requires the following improvements:

  • rename --auth-token argument to --username to be clear its purpose from a v1 perspective
  • prompt for token password by default and ensure the password is set
  • add --no-password to skip password prompt

Why

The existing implementation of the influx v1 auth create command allows a user to create an auth token, but does not set a password until the user executes the influx v1 auth set-password command. Without a password, the token is unusable, returning an unauthorised error. It is unclear from the API that this is because the password is not set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/2.x OSS 2.0 related issues and PRs team/compute
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant