633 B
633 B
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