Skip to content

Commit 59f8cc6

Browse files
authored
Merge pull request #5981 from influxdata/jts-manage-admin-tokens
feat(mono): Manage admin tokens
2 parents f7be9d2 + de8ab2e commit 59f8cc6

File tree

18 files changed

+343
-2
lines changed

18 files changed

+343
-2
lines changed

content/influxdb3/cloud-dedicated/admin/tokens/database/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create a database token
33
description: >
44
Use the [`influxctl token create` command](/influxdb3/cloud-dedicated/reference/cli/influxctl/token/create/)
55
or the [Management HTTP API](/influxdb3/cloud-dedicated/api/management/)
6-
to [database token](/influxdb3/cloud-dedicated/admin/tokens/database/) for reading and writing data in your InfluxDB Cloud Dedicated cluster.
6+
to create a [database token](/influxdb3/cloud-dedicated/admin/tokens/database/) for reading and writing data in your InfluxDB Cloud Dedicated cluster.
77
Provide a token description and permissions for databases.
88
menu:
99
influxdb3_cloud_dedicated:

content/influxdb3/clustered/admin/tokens/database/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a database token
33
description: >
44
Use the [`influxctl token create` command](/influxdb3/clustered/reference/cli/influxctl/token/create/)
5-
to create a database token for reading and writing data in your InfluxDB cluster.
5+
to create a [database token](/influxdb3/clustered/admin/tokens/database/) for reading and writing data in your InfluxDB cluster.
66
Provide a token description and permissions for databases.
77
menu:
88
influxdb3_clustered:
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+
-->

0 commit comments

Comments
 (0)