influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.93k stars 3.55k forks source link

Specify Token When creating a user #21478

Open d02023287 opened 3 years ago

d02023287 commented 3 years ago

Proposal: Allow the definition of the token with influx auth create instead of it being auto generated

Current behavior: Only influx setup -t allows the specification of the token while influx auth create does not allow it

Desired behavior: The ability to define the value of the token when using influx auth create

Use case: Simplifies implementation of multiple InfluxDBs behind a load balancer

coxifred commented 2 years ago

Is there any prevision for this option ? Or simply a commercial way of life to use cluster version ?

coxifred commented 2 years ago

Update ?

RasmusGodske commented 2 years ago

I agree, this would be a nice feature, especially for infrastructure as code project. Right now the easiest solution is to simply abuse the setup token, which also have admin privileges, which is a huge security concern.

jazzmano commented 2 years ago

Agreed, we need this feature to ensure IAC projects