From dd75bf13cd82d7c241c2870411e4cda5b0425c8b Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Tue, 15 Apr 2025 08:23:02 -0500 Subject: [PATCH] feat(enterprise): Manage resource tokens for databases and sysinfo --- .../admin/tokens/resource/_index.md | 7 ++++--- .../admin/tokens/resource/create.md | 1 - .../enterprise/admin/tokens/resource/list.md | 19 +++++-------------- 3 files changed, 9 insertions(+), 18 deletions(-) diff --git a/content/influxdb3/enterprise/admin/tokens/resource/_index.md b/content/influxdb3/enterprise/admin/tokens/resource/_index.md index 48e676198..025064604 100644 --- a/content/influxdb3/enterprise/admin/tokens/resource/_index.md +++ b/content/influxdb3/enterprise/admin/tokens/resource/_index.md @@ -7,14 +7,15 @@ description: > and system information endpoints in your {{< product-name >}} instance. Database resource tokens allow for actions like writing and querying data. menu: - influxdb3_core: + influxdb3_enterprise: parent: Manage tokens name: Resource tokens weight: 101 -influxdb3/core/tags: [tokens] -source: /shared/influxdb3-admin/tokens/database/_index.md +influxdb3/enterprise/tags: [tokens] --- +{{< children depth="1" >}} + diff --git a/content/influxdb3/enterprise/admin/tokens/resource/create.md b/content/influxdb3/enterprise/admin/tokens/resource/create.md index 48a3c248b..c141c51ca 100644 --- a/content/influxdb3/enterprise/admin/tokens/resource/create.md +++ b/content/influxdb3/enterprise/admin/tokens/resource/create.md @@ -38,7 +38,6 @@ list_code_example: | alt_links: cloud-dedicated: /influxdb3/enterprise/admin/tokens/create-token/ cloud-serverless: /influxdb3/cloud-serverless/admin/tokens/create-token/ -source: /shared/influxdb3-admin/tokens/database/create.md --- Use the [`influxdb3 create token --permission` command](/influxdb3/enterprise/reference/cli/influxdb3/create/token/) diff --git a/content/influxdb3/enterprise/admin/tokens/resource/list.md b/content/influxdb3/enterprise/admin/tokens/resource/list.md index 9c3f54924..15e052584 100644 --- a/content/influxdb3/enterprise/admin/tokens/resource/list.md +++ b/content/influxdb3/enterprise/admin/tokens/resource/list.md @@ -1,11 +1,11 @@ --- -title: List database tokens +title: List resource tokens description: > Use the `influxdb3 show tokens` command - to list database tokens in your InfluxDB 3 Enterprise instance. + to list resource tokens in your InfluxDB 3 Enterprise instance. menu: influxdb3_enterprise: - parent: Database tokens + parent: Resource tokens weight: 202 list_code_example: | ##### CLI @@ -14,23 +14,14 @@ list_code_example: | --token ADMIN_TOKEN --host http://{{< influxdb/host >}} ``` - - ##### API - ```bash - curl \ - --location "http://{{< influxdb/host >}}/api/v3/configure/tokens" \ - --header "Accept: application/json" \ - --header "Authorization: Bearer ADMIN_TOKEN" - ``` - aliases: - /influxdb3/enterprise/admin/tokens/list/ related: - /influxdb3/enterprise/reference/cli/influxdb3/token/list/ - /influxdb3/enterprise/reference/api/ -source: /shared/influxdb3-admin/tokens/database/list.md +source: /shared/influxdb3-admin/tokens/admin/list.md --- \ No newline at end of file