Support new API_TOKEN format

Allows configuration the new API_TOKEN_PEPPERS setting from an
ENV variable or secret file.

Feature request: https://github.com/netbox-community/netbox/issues/20210
Pull request: https://github.com/netbox-community/netbox/pull/20477
This commit is contained in:
Tobias Genannt
2025-10-08 08:12:59 +02:00
parent f07c9d533d
commit 1f0ef020a9
4 changed files with 12 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
API_TOKEN_PEPPER_1=Qy+F=OTeGskWQ(wTMgjc+NPPlz6YwFXY=KHIIg=wpYXT&e(6u8
CORS_ORIGIN_ALLOW_ALL=True
DB_HOST=postgres
DB_NAME=netbox