influxdata / docs-v2

InfluxData Documentation that covers InfluxDB Cloud, InfluxDB OSS 2.x, InfluxDB OSS 1.x, InfluxDB Enterprise, Telegraf, Chronograf, Kapacitor, and Flux.
https://docs.influxdata.com
MIT License
72 stars 263 forks source link

Authentication and authorization in InfluxDB 1.x #4578

Open kelseiv opened 1 year ago

kelseiv commented 1 year ago

Page: https://docs.influxdata.com/influxdb/v1.8/administration/authentication_and_authorization/ Feedback: some parts are not self-describing. like generating auth token. some commands are note directly working.

Rewrite Authorization section in this doc as a procedure. Explicitly clarify that auth token is only in the JWT context, otherwise, you'd use the username/password to authenticate. Clarify how to update username/password credentials if needed.

QuinnyPig commented 1 year ago

Absolutely agree. I'm left staring at this thing not working wondering if I'm a secret idiot and nobody bothered to ever tell me until now.

Trying to mate Influx Cloud with Grafana Cloud and I'm starting to wonder if the better path would have been to go with the self-hosted options; that's not the user onboarding experience I suspect anyone wants.

sanderson commented 1 year ago

@QuinnyPig Are you looking at https://docs.influxdata.com/influxdb/v1.8/administration/authentication_and_authorization/ when trying to connect Grafana to InfluxDB Cloud? InfluxDB Cloud uses a different authentication method than InfluxDB 1.8. This page walks through connecting Grafana to InfluxDB Cloud: https://docs.influxdata.com/influxdb/cloud/tools/grafana/