Use tokens to authenticate requests to InfluxDB, including requests to write,
query, and manage data and resources.
Authenticate requests using the
API requests made with client libraries, and tools like cURL.
Add a token to a CLI request
influx write \
--token API_TOKEN \
Use environment variables
influx CLI automatically uses the
INFLUX_TOKEN variable when defined in
the current session.
Use CLI configurations
influx CLI connection configurations
to automatically add your token and other required credentials to each CLI command execution.
Was this page helpful?
Thank you for your feedback!
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, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.