Skip to content

Commit de8ab2e

Browse files
committed
feat(mono): Manage admin tokens
1 parent 674f8f4 commit de8ab2e

File tree

16 files changed

+341
-0
lines changed

16 files changed

+341
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Manage tokens
3+
description: >
4+
InfluxDB 3 uses tokens to authenticate and authorize access to resources and data stored in {{< product-name >}}.
5+
Use the `influxdb3` CLI or `/api/v3` HTTP API to manage tokens
6+
for your {{% product-name %}} instance.
7+
menu:
8+
influxdb3_core:
9+
parent: Administer InfluxDB
10+
weight: 202
11+
---
12+
13+
InfluxDB 3 uses tokens to authenticate and authorize access to resources and data stored in {{< product-name >}}.
14+
Use the `influxdb3` CLI or `/api/v3` HTTP API to manage tokens
15+
for your {{% product-name %}} instance.
16+
17+
{{< children hlevel="h2" readmore=true hr=true >}}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Manage admin tokens
3+
seotitle: Manage admin tokens in {{< product-name >}}
4+
description: >
5+
Manage admin tokens in your {{< product-name >}} instance.
6+
An admin token grants
7+
access to all actions (CLI commands and API endpoints) for the server.
8+
menu:
9+
influxdb3_core:
10+
parent: Manage tokens
11+
name: Admin tokens
12+
weight: 101
13+
influxdb3/core/tags: [tokens]
14+
source: /shared/influxdb3-admin/tokens/_index.md
15+
---
16+
17+
<!-- The content for this page is at
18+
// SOURCE content/shared/influxdb3-admin/tokens/_index.md
19+
-->
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Create an admin token
3+
description: >
4+
Use the [`influxdb3 create token --admin` command](/influxdb3/core/reference/cli/influxdb3/create/token/)
5+
or the [HTTP API](/influxdb3/core/api/v3/)
6+
to create an [admin token](/influxdb3/core/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
7+
An admin token grants access to all actions on the server.
8+
menu:
9+
influxdb3_core:
10+
parent: Admin tokens
11+
weight: 201
12+
list_code_example: |
13+
##### CLI
14+
```bash
15+
influxdb3 create token --admin
16+
alt_links:
17+
cloud-dedicated: /influxdb3/cloud-dedicated/admin/tokens/create-token/
18+
cloud-serverless: /influxdb3/cloud-serverless/admin/tokens/create-token/
19+
source: /shared/influxdb3-admin/tokens/admin/create.md
20+
---
21+
22+
<!-- The content for this page is at
23+
// SOURCE content/shared/influxdb3-admin/tokens/admin/create.md
24+
-->
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: List an admin token
3+
description: >
4+
Use the `influxdb3 show tokens` command
5+
to list the [admin token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
6+
An admin token grants access to all actions on the server.
7+
menu:
8+
influxdb3_core:
9+
parent: Admin tokens
10+
weight: 201
11+
list_code_example: |
12+
##### CLI
13+
```bash
14+
influxdb3 show tokens
15+
```
16+
source: /shared/influxdb3-admin/tokens/admin/list.md
17+
---
18+
19+
<!-- The content for this page is at
20+
// SOURCE content/shared/influxdb3-admin/tokens/admin/list.md
21+
-->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Regenerate an admin token
3+
description: >
4+
Use the [`influxdb3 create token --admin` command](/influxdb3/core/reference/cli/influxdb3/create/token/)
5+
or the [HTTP API](/influxdb3/core/api/v3/)
6+
to regenerate an [admin token](/influxdb3/core/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
7+
An admin token grants access to all actions on the server.
8+
Regenerating an admin token deactivates the previous token.
9+
menu:
10+
influxdb3_core:
11+
parent: Admin tokens
12+
weight: 201
13+
list_code_example: |
14+
##### CLI
15+
```bash
16+
influxdb3 create token --admin \
17+
--token ADMIN_TOKEN \
18+
--regenerate
19+
```
20+
source: /shared/influxdb3-admin/tokens/admin/regenerate.md
21+
---
22+
23+
<!-- The content for this page is at
24+
// SOURCE content/shared/influxdb3-admin/tokens/admin/create.md
25+
-->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Manage tokens
3+
description: >
4+
InfluxDB 3 uses tokens to authenticate and authorize access to resources and data stored in your {{< product-name >}}.
5+
Use the `influxdb3` CLI or `/api/v3` HTTP API to manage tokens
6+
for your {{% product-name %}} instance.
7+
menu:
8+
influxdb3_enterprise:
9+
parent: Administer InfluxDB
10+
weight: 202
11+
---
12+
13+
InfluxDB 3 uses tokens to authenticate and authorize access to resources and data stored in your {{< product-name >}}.
14+
Use the `influxdb3` CLI or `/api/v3` HTTP API to manage tokens
15+
for your {{% product-name %}} instance.
16+
17+
{{< children hlevel="h2" readmore=true hr=true >}}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Manage admin tokens
3+
seotitle: Manage admin tokens in {{< product-name >}}
4+
description: >
5+
Manage admin tokens in your {{< product-name >}} instance.
6+
An admin token grants
7+
access to all actions (CLI commands and API endpoints) for the server.
8+
menu:
9+
influxdb3_enterprise:
10+
parent: Manage tokens
11+
name: Admin tokens
12+
weight: 101
13+
influxdb3/enterprise/tags: [tokens]
14+
source: /shared/influxdb3-admin/tokens/admin/_index.md
15+
---
16+
17+
<!-- The content for this page is at
18+
// SOURCE content/shared/influxdb3-admin/tokens/admin/_index.md
19+
-->
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Create an admin token
3+
description: >
4+
Use the [`influxdb3 create token --admin` command](/influxdb3/enterprise/reference/cli/influxdb3/create/token/)
5+
or the [HTTP API](/influxdb3/enterprise/api/v3/)
6+
to create an [admin token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
7+
An admin token grants access to all actions on the server.
8+
menu:
9+
influxdb3_enterprise:
10+
parent: Admin tokens
11+
weight: 201
12+
list_code_example: |
13+
##### CLI
14+
```bash
15+
influxdb3 create token --admin
16+
alt_links:
17+
cloud-dedicated: /influxdb3/cloud-dedicated/admin/tokens/create-token/
18+
cloud-serverless: /influxdb3/cloud-serverless/admin/tokens/create-token/
19+
source: /shared/influxdb3-admin/tokens/admin/create.md
20+
---
21+
22+
<!-- The content for this page is at
23+
// SOURCE content/shared/influxdb3-admin/tokens/admin/create.md
24+
-->
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: List an admin token
3+
description: >
4+
Use the `influxdb3 show tokens` command
5+
to list the [admin token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
6+
An admin token grants access to all actions on the server.
7+
menu:
8+
influxdb3_enterprise:
9+
parent: Admin tokens
10+
weight: 201
11+
list_code_example: |
12+
##### CLI
13+
```bash
14+
influxdb3 show tokens
15+
```
16+
source: /shared/influxdb3-admin/tokens/admin/list.md
17+
---
18+
19+
<!-- The content for this page is at
20+
// SOURCE content/shared/influxdb3-admin/tokens/admin/list.md
21+
-->
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: Regenerate an admin token
3+
description: >
4+
Use the [`influxdb3 create token --admin` command](/influxdb3/enterprise/reference/cli/influxdb3/create/token/)
5+
or the [HTTP API](/influxdb3/enterprise/api/v3/)
6+
to regenerate an [admin token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
7+
An admin token grants access to all actions on the server.
8+
Regenerating an admin token deactivates the previous token.
9+
menu:
10+
influxdb3_enterprise:
11+
parent: Admin tokens
12+
weight: 201
13+
list_code_example: |
14+
##### CLI
15+
```bash
16+
influxdb3 create token --admin \
17+
--token ADMIN_TOKEN \
18+
--regenerate
19+
```
20+
source: /shared/influxdb3-admin/tokens/admin/regenerate.md
21+
---
22+
23+
<!-- The content for this page is at
24+
// SOURCE content/shared/influxdb3-admin/tokens/admin/create.md
25+
-->

0 commit comments

Comments
 (0)