diff --git a/defaults/main.yml b/defaults/main.yml index 13382f1..255f8cb 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,5 +1,5 @@ --- -authelia_version: 4.30.1 +authelia_version: 4.33.1 authelia_user: "authelia_adm" authelia_user_home: "/home/{{ authelia_user }}" authelia_group: "{{ authelia_user }}" @@ -55,6 +55,13 @@ authelia_auth_ldap_display_name_attribute: displayname authelia_auth_ldap_bind_user: cn=admin,dc=example,dc=com authelia_auth_ldap_bind_password: password +# @var authelia_storage_encryption_key:description: > +# The encryption key used to encrypt data in the database. The minimum length of this key is 20 characters, +# however we generally recommend above 64 characters. For security reasons, it's highly recommended to create +# a unique key. +# @end +authelia_storage_encryption_key: bp33fh3cTswzdMndXrrVMrLd + # @var authelia_storage_backend:description: > # Set storage backend. Available options are `local|postgres`. All `authelia_storage_db_` variables will only work # while the PostgreSQL backend is enabled. diff --git a/templates/conf/authelia.yml.j2 b/templates/conf/authelia.yml.j2 index c45a7d8..f700685 100644 --- a/templates/conf/authelia.yml.j2 +++ b/templates/conf/authelia.yml.j2 @@ -104,6 +104,7 @@ regulation: ban_time: {{ authelia_regulation_ban_time }} storage: + encryption_key: {{ authelia_storage_encryption_key }} {% if authelia_storage_backend == "postgres" %} postgres: host: {{ authelia_storage_db_host }}