Skip to content

Commit a0bc2aa

Browse files
authored
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 --permission
1 parent dc53392 commit a0bc2aa

File tree

1 file changed

+5
-5
lines changed
  • content/shared/v3-enterprise-get-started

1 file changed

+5
-5
lines changed

content/shared/v3-enterprise-get-started/_index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ The following example shows how to create a database token that expires in 90 da
362362

363363
```bash
364364
influxdb3 create token \
365-
--permission \
365+
--permission "db:*:read,write"\
366366
--expiry 90d \
367367
--token ADMIN_TOKEN \
368368
--host http://{{< influxdb/host >}} \
369369
--name "rw all databases" \
370-
"db:*:read,write"
370+
371371
```
372372
{{% /code-placeholders %}}
373373

@@ -402,12 +402,12 @@ The following example shows how to create a system token that expires in 1 year
402402

403403
```bash
404404
influxdb3 create token \
405-
--permission \
405+
--permission "system:*:read"\
406406
--expiry 1y \
407407
--token ADMIN_TOKEN \
408408
--host http://{{< influxdb/host >}} \
409409
--name "all system endpoints" \
410-
"system:*:read"
410+
411411
```
412412
{{% /code-placeholders %}}
413413

@@ -1673,4 +1673,4 @@ Replace the following placeholders with your values:
16731673
- {{% code-placeholder-key %}}`AUTH_TOKEN`{{% /code-placeholder-key %}}: your {{% token-link "admin" %}}
16741674
- {{% code-placeholder-key %}}`DATABASE_NAME`{{% /code-placeholder-key %}}: the name of the database to create the file index in
16751675
- {{% code-placeholder-key %}}`TABLE_NAME`{{% /code-placeholder-key %}}: the name of the table to create the file index in
1676-
- {{% code-placeholder-key %}}`COLUMNS`{{% /code-placeholder-key %}}: a comma-separated list of columns to index on, for example, `host,application`
1676+
- {{% code-placeholder-key %}}`COLUMNS`{{% /code-placeholder-key %}}: a comma-separated list of columns to index on, for example, `host,application`

0 commit comments

Comments
 (0)