Create a token
Create authentication tokens using the InfluxDB user interface (UI) or the
command line interface (CLI).
Tokens are visible only to the user who created them and stop working when the user is deactivated. We recommend creating a generic IT user to create and manage tokens for writing data.
Create a token in the InfluxDB UI
In the navigation menu on the left, select Data (Load Data) > Tokens.
Click Generate and select a token type (Read/Write Token or All Access Token).
In the window that appears, enter a description for your token in the Description field.
If generating a read/write token:
- Search for and select buckets to read from in the Read pane.
- Search for and select buckets to write to in the Write pane.
Create a token using the influx CLI
# Syntax influx auth create -o <org-name> [permission-flags] # Example influx auth create -o my-org \ --read-bucket 03a2bbf46309a000 \ --read-bucket 3a87c03ace269000 \ --read-dashboards \ --read-tasks \ --read-telegrafs \ --read-user
Filtering options such as filtering by authorization ID, username, or user ID are available.
influx auth list documentation
for information about other available flags.
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.