Documentation

influxctl token get

The influxctl token get command returns information about a database token in an InfluxDB cluster.

The --format flag lets you print the output in other formats. The json format is available for programmatic parsing by other tooling. Default: table.

Usage

influxctl token get [command options] <TOKEN_ID>

Flags

FlagDescription
--formatOutput format (table (default) or json)
--include-revokedAllow returning a revoked token
-h--helpOutput command help

Examples

influxctl token get 
TOKEN_ID

Replace the following:

  • TOKEN_ID: token ID to get

Was this page helpful?

Thank you for your feedback!


The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more

New in InfluxDB 3.4

Key enhancements in InfluxDB 3.4 and the InfluxDB 3 Explorer 1.2.

See the Blog Post

InfluxDB 3.4 is now available for both Core and Enterprise, which introduces offline token generation for use in automated deployments and configurable license type selection that lets you bypass the interactive license prompt. InfluxDB 3 Explorer 1.2 is also available, which includes InfluxDB cache management and other new features.

For more information, check out: