fix(mono): Update descriptions to be more operator-specific

pull/6100/head
Jason Stirnaman 2025-05-28 23:09:04 -05:00
parent e59f22af51
commit 7bf799c3d0
7 changed files with 14 additions and 14 deletions

View File

@ -4,8 +4,7 @@ description: >
Use the [`influxdb3 create token --admin` command](/influxdb3/core/reference/cli/influxdb3/create/token/)
or the HTTP API [`/api/v3/configure/token/admin/regenerate`](/influxdb3/core/api/v3/#operation/PostRegenerateAdminToken) endpoint
to regenerate an [operator token](/influxdb3/core/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
An admin token grants access to all actions on the server.
Regenerating an admin token deactivates the previous token.
Regenerating an operator token deactivates the previous token.
menu:
influxdb3_core:
parent: Admin tokens

View File

@ -5,7 +5,7 @@ description: >
menu:
influxdb3_core:
parent: influxdb3 create
name: influxdb3 create token
name: influxdb3 create token
weight: 400
source: /shared/influxdb3-cli/create/token/_index.md
---

View File

@ -1,12 +1,11 @@
---
title: influxdb3 create token admin
description: >
The `influxdb3 create token --admin` command creates a new operator or named
admin authentication token.
The `influxdb3 create token admin` command creates an operator token or named admin token with full administrative privileges for server actions.
menu:
influxdb3_core:
parent: influxdb3 create token
name: influxdb3 create token admin
name: influxdb3 create token admin
weight: 400
source: /shared/influxdb3-cli/create/token/admin.md
---

View File

@ -3,8 +3,7 @@ title: Regenerate an operator admin token
description: >
Use the [`influxdb3 create token --admin` command](/influxdb3/enterprise/reference/cli/influxdb3/create/token/)
or the [HTTP API](/influxdb3/enterprise/api/v3/)
to regenerate an [admin token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
An operator token grants access to all actions on the server.
to regenerate an [operator token](/influxdb3/enterprise/admin/tokens/admin/) for your {{< product-name omit="Clustered" >}} instance.
Regenerating an admin token deactivates the previous token.
menu:
influxdb3_enterprise:

View File

@ -1,8 +1,7 @@
---
title: influxdb3 create token admin
description: >
The `influxdb3 create token --admin` command creates a new operator or named
admin authentication token.
The `influxdb3 create token admin` command creates an operator token or named admin token with full administrative privileges for server actions.
menu:
influxdb3_enterprise:
parent: influxdb3 create token

View File

@ -14,5 +14,5 @@ source: /shared/influxdb3-internals-reference/authentication.md
---
<!-- The content for this page is at
// SOURCE /content/shared/influxdb3-internals-reference/authentication.md
// -->
// SOURCE content/shared/influxdb3-internals-reference/authentication.md
-->

View File

@ -1,5 +1,5 @@
Create a new operator or named admin token.
Create an operator token or named admin token.
## Usage
@ -17,7 +17,7 @@ influxdb3 create token --admin [OPTIONS]
| `--host <host>` | The host URL of the running InfluxDB 3 server [env: `INFLUXDB3_HOST_URL=`] [default: `http://127.0.0.1:8181`] |
| `--token <token>` | An existing admin token for the InfluxDB 3 server |
| `--tls-ca <tls-ca>` | An optional arg to use a custom ca for useful for testing with self signed certs |
| `--format <FORMAT>` | Output format for token, supports just json or text [possible values: json, text] |
| `--format <FORMAT>` | Output format for token [possible values: `json`, `text`] |
| `-h`, `--help` | Print help information |
| `--help-all` | Print more detailed help information |
@ -25,6 +25,10 @@ influxdb3 create token --admin [OPTIONS]
### Create an operator token
The operator token is a special token that has full administrative privileges on the InfluxDB server and doesn't expire.
The first admin token you create becomes the operator token for the instance.
You can create an operator token using the `--admin` flag without any additional options.
<!--pytest.mark.skip-->
```bash