Custom HTTP headers for InfluxDB


#1

(Starting a separate topic, but to recap, I work for an energy supplier in the UK, looking at using an IoTaWatt to simulate smart meter data as part of a trial we’re running.)

Is it possible to add custom HTTP headers to the InfluxDB interface? Specifically, we want to add an authentication header that will be interpreted by a proxy that sits in front of a multi-tenant InfluxDB instance to limit exposure to the broader internet.


#2

Not sure if you have seen the latest influxdb implementation. It allows you to specify user and password and if so, will generate a standard authentication header:

Authentication: Basic <base64(user:password)>

This is what influx uses. Are you saying you would need something else?


#3

Ah ha, that sounds perfect. Thank you.