Remove credentials option, add info about `influx config create`

pull/993/head
noramullen1 2020-05-20 14:11:42 -07:00
parent 084f1a2512
commit 28f3dfda8f
1 changed files with 4 additions and 5 deletions

View File

@ -385,14 +385,13 @@ To use the [`influx` CLI](/v2.0/reference/cli/influx) after setting up InfluxDB
Use one of the following methods to provide your authentication token to the CLI:
1. Pass your token to the `influx` CLI using the `-t` or `--token` flag.
2. Set the `INFLUX_TOKEN` environment variable using your token.
- Create a new InfluxDB connection configuration using the [`influx config create` command](/v2.0/reference/cli/influx/config/create/).
- Pass your token to the `influx` CLI using the `-t` or `--token` flag.
- Set the `INFLUX_TOKEN` environment variable using your token.
```bash
export INFLUX_TOKEN=oOooYourAuthTokenOoooOoOO==
```
3. Store your token in `~/.influxdbv2/credentials`.
_The content of the `credentials` file should be only your token._
_See [View tokens](/v2.0/security/tokens/view-tokens/) for information about
retrieving authentication tokens._