Documentation

Manage tokens

InfluxDB uses token authentication to authorize access to data in your InfluxDB cluster. With InfluxDB Clustered, there are two types of tokens:

Database tokens

Database tokens grant read and write permissions to one or more databases and allows for actions like writing and querying data.

All read and write actions performed against time series data in your InfluxDB cluster must be authorized using a token.

Management tokens

Management tokens grant permission to perform administrative actions such as managing users, databases, and database tokens. Management tokens allow clients, such as the influxctl CLI, to perform administrative actions.

Store secure tokens in a secret store

Token strings are returned only on token creation. We recommend storing database tokens in a secure secret store. For example, see how to authenticate Telegraf using tokens in your OS secret store.



Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

InfluxDB 3 Core and Enterprise are now in Beta

InfluxDB 3 Core and Enterprise are now available for beta testing, available under MIT or Apache 2 license.

InfluxDB 3 Core is a high-speed, recent-data engine that collects and processes data in real-time, while persisting it to local disk or object storage. InfluxDB 3 Enterprise is a commercial product that builds on Core’s foundation, adding high availability, read replicas, enhanced security, and data compaction for faster queries. A free tier of InfluxDB 3 Enterprise will also be available for at-home, non-commercial use for hobbyists to get the full historical time series database set of capabilities.

For more information, check out: