2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Add docs for secret_key (#8801)

This commit is contained in:
Oliver 2024-12-31 13:45:52 +11:00 committed by GitHub
parent ecc1c937ed
commit 5692f56630
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -226,6 +226,9 @@ You can either specify the password directly using `INVENTREE_ADMIN_PASSWORD`, o
InvenTree requires a secret key for providing cryptographic signing - this should be a secret (and unpredictable) value.
!!! info "Auto-Generated Key"
If none of the following options are specified, InvenTree will automatically generate a secret key file (stored in `secret_key.txt`) on first run.
The secret key can be provided in multiple ways, with the following (descending) priorities:
**Pass Secret Key via Environment Variable**