Skip to content

Commit 14a6f40

Browse files
committed
fix(influxdb3): Remove beta note, uncomment token usage
1 parent c3fe264 commit 14a6f40

File tree

5 files changed

+15
-23
lines changed

5 files changed

+15
-23
lines changed

content/shared/influxdb3-admin/databases/create.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ to create a database in {{< product-name >}}.
44
Provide the following:
55

66
- Database name _(see [Database naming restrictions](#database-naming-restrictions))_
7-
- {{< product-name >}} authorization token
8-
9-
> [!Note]
10-
> While in beta, {{< product-name >}} does not require an authorization token.
7+
- {{< product-name >}} {{% token-link "admin" "admin" %}}
118

129
<!--Allow fail for database create and delete: namespaces aren't reusable-->
1310
<!--pytest.mark.skip-->

content/shared/influxdb3-admin/databases/delete.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ to delete a database from {{< product-name >}}.
1111
Provide the following:
1212

1313
- Name of the database to delete
14-
- {{< product-name >}} authorization token
15-
16-
> [!Note]
17-
> While in beta, {{< product-name >}} does not require an authorization token.
14+
- - {{< product-name >}} {{% token-link "admin" "admin" %}}
1815

1916
{{% code-placeholders "DATABASE_NAME" %}}
2017
```sh

content/shared/influxdb3-admin/databases/list.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ Provide the following:
66
- _(Optional)_ [Output format](#output-formats) with the `--format` option
77
- _(Optional)_ [Show deleted databases](list-deleted-databasese) with the
88
`--show-deleted` option
9-
- {{< product-name >}} authorization token with the `-t`, `--token` option
10-
11-
> [!Note]
12-
> While in beta, {{< product-name >}} does not require an authorization token.
9+
- {{< product-name >}} {{% token-link "admin" "admin" %}} with the `-t`, `--token` option
1310

1411
```sh
1512
influxdb3 show databases

content/shared/influxdb3-query-guides/execute-queries/influxdb3-cli.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ to query data in {{< product-name >}} with SQL or InfluxQL.
44

55
Provide the following with your command:
66

7-
<!-- - **Authorization token**: A [authorization token](/influxdb3/version/admin/tokens/#database-tokens)
8-
with read permissions on the queried database.
7+
- **Authorization token**: Your {{< product-name >}} {{% token-link "admin" "admin" %}}
8+
with read permissions on the database.
99
Provide this using one of the following:
1010

1111
- `--token` command option
12-
- `INFLUXDB3_AUTH_TOKEN` environment variable -->
12+
- `INFLUXDB3_AUTH_TOKEN` environment variable
1313

1414
- **Database name**: The name of the database to query.
1515
Provide this using one of the following:
@@ -53,6 +53,7 @@ Provide the following with your command:
5353

5454
```bash
5555
influxdb3 query \
56+
--token AUTH_TOKEN \
5657
--database DATABASE_NAME \
5758
"SELECT * FROM home"
5859
```
@@ -62,6 +63,7 @@ influxdb3 query \
6263

6364
```bash
6465
influxdb3 query \
66+
--token AUTH_TOKEN \
6567
--database DATABASE_NAME \
6668
--file ./query.sql
6769
```
@@ -70,7 +72,7 @@ influxdb3 query \
7072
<!--pytest.mark.skip-->
7173

7274
```bash
73-
cat ./query.sql | influxdb3 query --database DATABASE_NAME
75+
cat ./query.sql | influxdb3 query --token AUTH_TOKEN --database DATABASE_NAME
7476
```
7577
{{% /code-tab-content %}}
7678
{{< /code-tabs-wrapper >}}
@@ -94,6 +96,7 @@ cat ./query.sql | influxdb3 query --database DATABASE_NAME
9496

9597
```bash
9698
influxdb3 query \
99+
--token AUTH_TOKEN \
97100
--language influxql \
98101
--database DATABASE_NAME \
99102
"SELECT * FROM home"
@@ -104,8 +107,8 @@ influxdb3 query \
104107

105108
```bash
106109
influxdb3 query \
110+
--token AUTH_TOKEN \
107111
--language influxql \
108-
--database DATABASE_NAME \
109112
--file ./query.influxql
110113
```
111114
{{% /code-tab-content %}}
@@ -114,6 +117,7 @@ influxdb3 query \
114117

115118
```bash
116119
cat ./query.influxql | influxdb3 query \
120+
--token AUTH_TOKEN \
117121
--language influxql \
118122
--database DATABASE_NAME
119123
```
@@ -150,6 +154,7 @@ Use the `--format` flag to specify the output format:
150154
{{% influxdb/custom-timestamps %}}
151155
```sh
152156
influxdb3 query \
157+
--token AUTH_TOKEN \
153158
--database DATABASE_NAME \
154159
--format json \
155160
"SELECT * FROM home WHERE time >= '2022-01-01T08:00:00Z' LIMIT 5"
@@ -217,6 +222,7 @@ the `influxdb3 query` command:
217222
{{% influxdb/custom-timestamps %}}
218223
```sh
219224
influxdb3 query \
225+
--token AUTH_TOKEN \
220226
--database DATABASE_NAME \
221227
--format parquet \
222228
--output path/to/results.parquet \

content/shared/influxdb3-write-guides/use-telegraf/dual-write.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ to a separate instance or for migrating from other versions of InfluxDB to
55
{{< product-name >}}.
66

77
The following example configures Telegraf for dual writing to {{% product-name %}} and an InfluxDB v2 OSS instance.
8-
8+
Specifically, it uses the the following:
99

1010
- The [InfluxDB v2 output plugin](https://github.com/influxdata/telegraf/tree/master/plugins/outputs/influxdb_v2)
1111
twice--the first pointing to {{< product-name >}} and the other to an
@@ -14,11 +14,6 @@ The following example configures Telegraf for dual writing to {{% product-name %
1414
Configure both tokens as environment variables and use string interpolation
1515
in your Telegraf configuration file to reference each environment variable.
1616

17-
> [!Note]
18-
> While in beta, {{< product-name >}} does not require an authorization token.
19-
> For the `token` option, provide an arbitrary, non-empty token string.
20-
21-
2217
## Sample configuration
2318

2419
```toml

0 commit comments

Comments
 (0)