File tree Expand file tree Collapse file tree 7 files changed +14
-14
lines changed
reference/cli/influxdb3/create/token
cli/influxdb3/create/token
shared/influxdb3-cli/create/token Expand file tree Collapse file tree 7 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ description: >
4
4
Use the [`influxdb3 create token --admin` command](/influxdb3/core/reference/cli/influxdb3/create/token/)
5
5
or the HTTP API [`/api/v3/configure/token/admin/regenerate`](/influxdb3/core/api/v3/#operation/PostRegenerateAdminToken) endpoint
6
6
to regenerate an [operator 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.
7
+ Regenerating an operator token deactivates the previous token.
9
8
menu :
10
9
influxdb3_core :
11
10
parent : Admin tokens
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: >
5
5
menu :
6
6
influxdb3_core :
7
7
parent : influxdb3 create
8
- name : influxdb3 create token
8
+ name : influxdb3 create token
9
9
weight : 400
10
10
source : /shared/influxdb3-cli/create/token/_index.md
11
11
---
Original file line number Diff line number Diff line change 1
1
---
2
2
title : influxdb3 create token admin
3
3
description : >
4
- The `influxdb3 create token --admin` command creates a new operator or named
5
- admin authentication token.
4
+ The `influxdb3 create token admin` command creates an operator token or named admin token with full administrative privileges for server actions.
6
5
menu :
7
6
influxdb3_core :
8
7
parent : influxdb3 create token
9
- name : influxdb3 create token admin
8
+ name : influxdb3 create token admin
10
9
weight : 400
11
10
source : /shared/influxdb3-cli/create/token/admin.md
12
11
---
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ title: Regenerate an operator admin token
3
3
description : >
4
4
Use the [`influxdb3 create token --admin` command](/influxdb3/enterprise/reference/cli/influxdb3/create/token/)
5
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 operator token grants access to all actions on the server.
6
+ to regenerate an [operator token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
8
7
Regenerating an admin token deactivates the previous token.
9
8
menu :
10
9
influxdb3_enterprise :
Original file line number Diff line number Diff line change 1
1
---
2
2
title : influxdb3 create token admin
3
3
description : >
4
- The `influxdb3 create token --admin` command creates a new operator or named
5
- admin authentication token.
4
+ The `influxdb3 create token admin` command creates an operator token or named admin token with full administrative privileges for server actions.
6
5
menu :
7
6
influxdb3_enterprise :
8
7
parent : influxdb3 create token
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ source: /shared/influxdb3-internals-reference/authentication.md
14
14
---
15
15
16
16
<!-- The content for this page is at
17
- // SOURCE / content/shared/influxdb3-internals-reference/authentication.md
18
- // -->
17
+ // SOURCE content/shared/influxdb3-internals-reference/authentication.md
18
+ -->
Original file line number Diff line number Diff line change 1
1
2
- Create a new operator or named admin token.
2
+ Create an operator token or named admin token.
3
3
4
4
## Usage
5
5
@@ -17,14 +17,18 @@ influxdb3 create token --admin [OPTIONS]
17
17
| ` --host <host> ` | The host URL of the running InfluxDB 3 server [ env: ` INFLUXDB3_HOST_URL= ` ] [ default: ` http://127.0.0.1:8181 ` ] |
18
18
| ` --token <token> ` | An existing admin token for the InfluxDB 3 server |
19
19
| ` --tls-ca <tls-ca> ` | An optional arg to use a custom ca for useful for testing with self signed certs |
20
- | ` --format <FORMAT> ` | Output format for token, supports just json or text [ possible values: json, text] |
20
+ | ` --format <FORMAT> ` | Output format for token [ possible values: ` json ` , ` text ` ] |
21
21
| ` -h ` , ` --help ` | Print help information |
22
22
| ` --help-all ` | Print more detailed help information |
23
23
24
24
## Examples
25
25
26
26
### Create an operator token
27
27
28
+ The operator token is a special token that has full administrative privileges on the InfluxDB server and doesn't expire.
29
+ The first admin token you create becomes the operator token for the instance.
30
+ You can create an operator token using the ` --admin ` flag without any additional options.
31
+
28
32
<!-- pytest.mark.skip-->
29
33
30
34
``` bash
You can’t perform that action at this time.
0 commit comments