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 %}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue