fix(links): fixed broken links and added TOC to offline tokens guide
parent
4845d63da4
commit
7b117674e2
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue