You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
What
The
influx v1 auth create
command requires the following improvements:--auth-token
argument to--username
to be clear its purpose from a v1 perspective--no-password
to skip password promptWhy
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 theinflux 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.The text was updated successfully, but these errors were encountered: