influxdata / influxdb-client-python

InfluxDB 2.0 python client
https://influxdb-client.readthedocs.io/en/stable/
MIT License
721 stars 187 forks source link

How to create a temporary token for influxdb? #564

Open children1987 opened 1 year ago

children1987 commented 1 year ago

I'd like the frontend to call my backend API to get a temporary token, so that the frontend can directly access the linuxDB. For security, I want this token to be temporary.

I noticedhere said:

image

But he doesn't seem to work. The token is still can be used in 60 min later.