You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Document use-hashed-tokens configuration option
Added documentation for the use-hashed-tokens option, including its benefits, default value, and configuration methods.
* Update documentation for use-hashed-tokens option
Clarify default behavior for hashed API tokens in version 2.8 and future versions.
---------
Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <jstirnaman@influxdata.com>
Copy file name to clipboardExpand all lines: content/influxdb/v2/reference/config-options.md
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,7 @@ To configure InfluxDB, use the following configuration options when starting the
194
194
-[tls-strict-ciphers](#tls-strict-ciphers)
195
195
-[tracing-type](#tracing-type)
196
196
-[ui-disabled](#ui-disabled)
197
+
-[use-hashed-tokens](#use-hashed-tokens)
197
198
-[vault-addr](#vault-addr)
198
199
-[vault-cacert](#vault-cacert)
199
200
-[vault-capath](#vault-capath)
@@ -3470,6 +3471,61 @@ ui-disabled = true
3470
3471
3471
3472
---
3472
3473
3474
+
### use-hashed-tokens
3475
+
Enable storing hashed API tokens on disk. Hashed tokens are disabled by default in version 2.8. Hashed tokens will be enabled by default in a future version.
3476
+
3477
+
Storing hashed tokens increases security by storing API tokens as hashes on disk. When enabled, all unhashed tokens are converted to hashed tokens on every startup leaving no unhashed tokens on disk. Newly created tokens are also stored as hashes. Lost tokens must be replaced when token hashing is enabled because the hashing prevents them from being recovered.
3478
+
3479
+
If token hashing is disabled after being enabled, any hashed tokens on disk remain as hashed tokens. Newly created tokens are stored unhashed when token hashing is disabled. Hashed tokens on disk remain valid and useable even with token hashing disabled.
3480
+
3481
+
Hashed token support is available in versions 2.8.0 and newer. Downgrading to older versions is not recommended after enabling hashed tokens because the downgrade process deletes all stored hashed tokens. All hashed tokens must be replaced on a downgrade after hashed tokens are enabled.
3482
+
3483
+
**Default:**`false`
3484
+
3485
+
| influxd flag | Environment variable | Configuration key |
0 commit comments