From 7b117674e2f26d532762adc8fbac5811bbdcf53a Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Wed, 27 Aug 2025 21:30:17 -0600 Subject: [PATCH] fix(links): fixed broken links and added TOC to offline tokens guide --- .../enterprise/admin/tokens/resource/preconfigured.md | 6 +++++- .../reference/cli/influxdb3/create/token/permission.md | 8 ++++---- .../shared/influxdb3-admin/tokens/admin/preconfigured.md | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/content/influxdb3/enterprise/admin/tokens/resource/preconfigured.md b/content/influxdb3/enterprise/admin/tokens/resource/preconfigured.md index d43da8f67..08eb10b41 100644 --- a/content/influxdb3/enterprise/admin/tokens/resource/preconfigured.md +++ b/content/influxdb3/enterprise/admin/tokens/resource/preconfigured.md @@ -15,7 +15,11 @@ Start {{% product-name %}} with a preconfigured "offline" permission (resource) If no tokens already exist, InfluxDB automatically creates resource tokens specified in the provided permission (resource) tokens file. -### Generate an offline permissions (resource) tokens file +- [Generate an offline permissions (resource) tokens file](#generate-an-offline-permissions-resource-tokens-file) + - [Offline permission tokens file schema](#offline-permission-tokens-file-schema) +- [Start InfluxDB with the preconfigured permission tokens](#start-influxdb-with-the-preconfigured-permission-tokens) + +## Generate an offline permissions (resource) tokens file Use the `influxdb3 create token` command to generate an offline permission (resource) tokens file. You can also specify corresponding databases to create when starting InfluxDB. diff --git a/content/influxdb3/enterprise/reference/cli/influxdb3/create/token/permission.md b/content/influxdb3/enterprise/reference/cli/influxdb3/create/token/permission.md index 4197b713a..4961adc22 100644 --- a/content/influxdb3/enterprise/reference/cli/influxdb3/create/token/permission.md +++ b/content/influxdb3/enterprise/reference/cli/influxdb3/create/token/permission.md @@ -56,9 +56,9 @@ The `--permission` option takes a value in the format `RESOURCE_TYPE:RESOURCE_NA - [Create a token with access to all databases](#create-a-token-with-access-to-all-databases) - [Create a token that expires in seven days](#create-a-token-that-expires-in-seven-days) - [Create a system token for health information](#create-a-system-token-for-health-information) -- [Create a token with access to all system information ](#create-a-token-with-access-to-all-system-information-) +- [Create a token with access to all system information](#create-a-token-with-access-to-all-system-information) - [Create a token with multiple permissions](#create-a-token-with-multiple-permissions) -- [Generate an offline permissions (resource) token file](#generate-an-offline-permissions-resource-token-file) +- [Generate an offline permission (resource) tokens file](#generate-an-offline-permission-resource-tokens-file) ### Create a token with read and write access to a database @@ -126,7 +126,7 @@ influxdb3 create token \ --name "Multi-permission token" ``` -### Generate an offline permissions (resource) tokens file +### Generate an offline permission (resource) tokens file Generate an offline permission (resource) tokens file to use if no resource tokens exist when the server starts. Once started, you can interact with the @@ -158,7 +158,7 @@ Replace the following: - {{% code-placeholder-key %}}`TOKEN_NAME`{{% /code-placeholder-key %}}: Name for your offline permission token - {{% code-placeholder-key %}}`TOKEN_PERMISSIONS`{{% /code-placeholder-key %}}: - [Token permissions](#permissions-format). + [Token permissions](#permission-format). - {{% code-placeholder-key %}}`DURATION`{{% /code-placeholder-key %}}: Duration for the token to remain valid, in [humantime](https://docs.rs/humantime/latest/humantime/fn.parse_duration.html) diff --git a/content/shared/influxdb3-admin/tokens/admin/preconfigured.md b/content/shared/influxdb3-admin/tokens/admin/preconfigured.md index 1662bbfe3..86ffee41a 100644 --- a/content/shared/influxdb3-admin/tokens/admin/preconfigured.md +++ b/content/shared/influxdb3-admin/tokens/admin/preconfigured.md @@ -4,7 +4,7 @@ If no admin tokens already exist, InfluxDB automatically creates an admin token using the provided admin token file. Offline tokens are designed to help with automated deployments. -- [Generate an offline admin token](#generate-an-offline-admin-token) +- [Generate an offline admin token file](#generate-an-offline-admin-token-file) - [Offline admin token file schema](#offline-admin-token-file-schema) - [Start InfluxDB with the preconfigured admin token](#start-influxdb-with-the-preconfigured-admin-token)