From a0bc2aa6b504c2ff28db8a96e953ba79a999a33a Mon Sep 17 00:00:00 2001 From: jaal2001 Date: Wed, 28 May 2025 17:41:44 +0200 Subject: [PATCH] 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 --- content/shared/v3-enterprise-get-started/_index.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/shared/v3-enterprise-get-started/_index.md b/content/shared/v3-enterprise-get-started/_index.md index c200058a4..d05b684de 100644 --- a/content/shared/v3-enterprise-get-started/_index.md +++ b/content/shared/v3-enterprise-get-started/_index.md @@ -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` \ No newline at end of file +- {{% code-placeholder-key %}}`COLUMNS`{{% /code-placeholder-key %}}: a comma-separated list of columns to index on, for example, `host,application`