diff --git a/content/influxdb/v2.7/security/tokens/create-token.md b/content/influxdb/v2.7/security/tokens/create-token.md index 8501f0a30..7ae8cf5d6 100644 --- a/content/influxdb/v2.7/security/tokens/create-token.md +++ b/content/influxdb/v2.7/security/tokens/create-token.md @@ -103,64 +103,6 @@ find the token you want to clone and click the **{{< icon "settings" >}}** icon ## Create a token using the influx CLI -{{% warn %}} -InfluxDB 2.4 introduced a bug that prevents you from creating an **all-access** or **operator** token using the `influx auth create` command, and causes the following error: `Error: could not write auth with provided arguments: 403 Forbidden: permission.` - -Until this bug is resolved in the next influx CLI release, please use the [workaround below to create an all-access or operator token](/influxdb/v2.7/security/tokens/create-token/#workaround-to-create-an-all-access-or-operator-token). -{{% /warn %}} - -### **Workaround:** To create an all-access or operator token - -- Use the following command to create an [all-access](/influxdb/v2.7/security/tokens/#all-access-token) or [operator](/influxdb/v2.7/security/tokens/#operator-token) token. For an operator token, you must also include the `--read-orgs` and `--write-orgs` flags. - -```sh -influx auth create - --org-id or --org \ - --read-authorizations \ - --write-authorizations \ - --read-buckets \ - --write-buckets \ - --read-dashboards \ - --write-dashboards \ - --read-tasks \ - --write-tasks \ - --read-telegrafs \ - --write-telegrafs \ - --read-users \ - --write-users \ - --read-variables \ - --write-variables \ - --read-secrets \ - --write-secrets \ - --read-labels \ - --write-labels \ - --read-views \ - --write-views \ - --read-documents \ - --write-documents \ - --read-notificationRules \ - --write-notificationRules \ - --read-notificationEndpoints \ - --write-notificationEndpoints \ - --read-checks \ - --write-checks \ - --read-dbrp \ - --write-dbrp \ - --read-annotations \ - --write-annotations \ - --read-sources \ - --write-sources \ - --read-scrapers \ - --write-scrapers \ - --read-notebooks \ - --write-notebooks \ - --read-remotes \ - --write-remotes \ - --read-replications \ - --write-replications -``` - - \ No newline at end of file