Authelia: add storage encryption_key, drop deprecated jwt_secret and duplicate redirection url

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Ezequiel C. 2026-09-11 00:08:59 +02:00
parent 3c994af96b
commit 87e5c0f069
2 changed files with 7 additions and 9 deletions

View file

@ -1,9 +1,9 @@
# Authelia configuration — https://www.authelia.com/configuration/prologue/introduction/
#
# Secrets (JWT_SECRET, RESET_JWT_SECRET, SESSION_SECRET, LDAP_ADMIN_PASSWORD,
# OIDC_HMAC_SECRET, OIDC_PORTAINER_SECRET) are resolved from the service's .env
# by the installer and substituted into this file on install/update, so they are
# not committed here.
# Secrets (RESET_JWT_SECRET, SESSION_SECRET, LDAP_ADMIN_PASSWORD,
# OIDC_HMAC_SECRET, OIDC_PORTAINER_SECRET, STORAGE_ENCRYPTION_KEY) are resolved
# from the service's .env by the installer and substituted into this file on
# install/update, so they are not committed here.
#
# The OIDC signing key (jwks) cannot be injected via env/file secrets (Authelia
# does not support that for this field), so it is read from /config/oidc-jwks.pem
@ -12,8 +12,6 @@
theme: dark
jwt_secret: '${JWT_SECRET}'
server:
address: 'tcp://0.0.0.0:9091/'
endpoints:
@ -64,7 +62,6 @@ session:
cookies:
- domain: 'example.com'
authelia_url: 'https://auth.example.com'
default_redirection_url: 'https://auth.example.com'
regulation:
max_retries: 3
@ -72,6 +69,7 @@ regulation:
ban_time: '5m'
storage:
encryption_key: '${STORAGE_ENCRYPTION_KEY}'
local:
path: '/config/db.sqlite3'

View file

@ -33,8 +33,8 @@
},
"env": [
{
"name": "JWT_SECRET",
"label": "JWT secret (auto-generated)",
"name": "STORAGE_ENCRYPTION_KEY",
"label": "Storage encryption key (auto-generated)",
"generate": true
},
{