"Anonymous" read access to InfluxDB

Hi,

I have configured our InfluxDB instance with user authorization using three profiles: one for database administration, one for the main application to be able to write to the database, and the third is for read-only access to the database (for reporting and ad-hoc queries).

Is it possible to configure InfluxDB so that authorization is required for admin or write access, but not required for read-only access?

Thanks
Jeremy Begg

Well, in the docs,
the authorization is on User type and not on the access type.

I don’t think that you can do this.

I don’t believe this is something we currently support. You may want to open an feature request issue on GitHub.

As a workaround, you may be able to set up a proxy that adds the basic auth headers to incoming GETs to the /query endpoint. I haven’t tried that out personally but it ought to be straightforward with nginx or caddy.