List resource tokens
Use the influxdb3
CLI to list tokens, including admin tokens.
Use the CLI
influxdb3 show tokens
The command lists metadata for all tokens in your InfluxDB 3 instance, including
the _admin
token.
The token metadata includes the hash of the token string.
InfluxDB 3 does not store the token string.
Output formats
The influxdb3 show tokens
command supports output formats:
pretty
(default)json
jsonl
csv
Use the --format
flag to specify the output format:
influxdb3 show tokens \
--format json
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 Enterprise and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.