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

Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
pull/6002/head
Jameelah Mercer 2025-05-16 19:39:13 -07:00 committed by GitHub
parent 7f1a3b6cec
commit ed3aa1ff30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@ influxdb3 create token <SUBCOMMAND>
influxdb3 create token --admin influxdb3 create token --admin
``` ```
This returns a token string. You can use it to authenticate future requests by setting it with `--token` or the `INFLUXDB3_AUTH_TOKEN` environment variable. The output is the raw token string you can use it to authenticate future CLI commands and API requests.
For CLI commands, use the `--token` option or the `INFLUXDB3_AUTH_TOKEN` environment variable to pass the token string.
### Use the token to create a database ### Use the token to create a database