docs-v2/content/shared/influxdb3-cli/create/token/_index.md

1.1 KiB

The influxdb3 create token command creates a new authentication token. This returns the raw token string. Use it to authenticate future CLI commands and API requests.

[!Important] InfluxDB displays the raw token string only once. Be sure to copy and securely store it.

Usage

influxdb3 create token <SUBCOMMAND>

Commands

Command Description
--admin Create an operator or named admin token for the {{< product-name >}} server.
{{% show-in "enterprise" %}} --permission Create a resource token with fine-grained access permissions.

Options

Option Description
--admin Create an admin token
-h --help Print help information