Update _index.md
Document did not show the arguments for --permission at the correct place. Needed to be moved from the end of the statement to behind --permissionpull/6098/head
parent
dc533920f1
commit
a0bc2aa6b5
|
@ -362,12 +362,12 @@ The following example shows how to create a database token that expires in 90 da
|
|||
|
||||
```bash
|
||||
influxdb3 create token \
|
||||
--permission \
|
||||
--permission "db:*:read,write"\
|
||||
--expiry 90d \
|
||||
--token ADMIN_TOKEN \
|
||||
--host http://{{< influxdb/host >}} \
|
||||
--name "rw all databases" \
|
||||
"db:*:read,write"
|
||||
|
||||
```
|
||||
{{% /code-placeholders %}}
|
||||
|
||||
|
@ -402,12 +402,12 @@ The following example shows how to create a system token that expires in 1 year
|
|||
|
||||
```bash
|
||||
influxdb3 create token \
|
||||
--permission \
|
||||
--permission "system:*:read"\
|
||||
--expiry 1y \
|
||||
--token ADMIN_TOKEN \
|
||||
--host http://{{< influxdb/host >}} \
|
||||
--name "all system endpoints" \
|
||||
"system:*:read"
|
||||
|
||||
```
|
||||
{{% /code-placeholders %}}
|
||||
|
||||
|
@ -1673,4 +1673,4 @@ Replace the following placeholders with your values:
|
|||
- {{% code-placeholder-key %}}`AUTH_TOKEN`{{% /code-placeholder-key %}}: your {{% token-link "admin" %}}
|
||||
- {{% code-placeholder-key %}}`DATABASE_NAME`{{% /code-placeholder-key %}}: the name of the database to create the file index in
|
||||
- {{% code-placeholder-key %}}`TABLE_NAME`{{% /code-placeholder-key %}}: the name of the table to create the file index in
|
||||
- {{% code-placeholder-key %}}`COLUMNS`{{% /code-placeholder-key %}}: a comma-separated list of columns to index on, for example, `host,application`
|
||||
- {{% code-placeholder-key %}}`COLUMNS`{{% /code-placeholder-key %}}: a comma-separated list of columns to index on, for example, `host,application`
|
||||
|
|
Loading…
Reference in New Issue