From 5692f5663080eaeed7af0d4d37b7bd86b0030f18 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 31 Dec 2024 13:45:52 +1100 Subject: [PATCH] Add docs for secret_key (#8801) --- docs/docs/start/config.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docs/start/config.md b/docs/docs/start/config.md index 3e6d2d4588..acdeb3de75 100644 --- a/docs/docs/start/config.md +++ b/docs/docs/start/config.md @@ -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**