Manage admin tokens
Manage tokens to authenticate and authorize access to resources and data in your InfluxDB 3 Core instance.
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.
Create an admin token
Use the influxdb3 create token --admin
command or the HTTP API to create an admin token for your InfluxDB 3 Core instance. An admin token grants access to all actions on the server.
CLI
influxdb3 create token --admin
List an admin token
Use the influxdb3 show tokens
command to list the admin token for your InfluxDB 3 Core instance. An admin token grants access to all actions on the server.
CLI
influxdb3 show tokens
Regenerate an admin token
Use the influxdb3 create token --admin
command or the HTTP API to regenerate an admin token for your InfluxDB 3 Core instance. An admin token grants access to all actions on the server. Regenerating an admin token deactivates the previous token.
CLI
influxdb3 create token --admin \
--token ADMIN_TOKEN \
--regenerate
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 3 Core and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.