Back to Influxdb

Index

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

latest1.1 KB
Original Source

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

<!--pytest.mark.skip-->
bash
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. |{{% /show-in %}}

Options

OptionDescription
--adminCreate an admin token
-h--helpPrint help information
--help-allPrint detailed help information