feat: add option authelia_storage_encryption_key (#2)
continuous-integration/drone/push Build is passing Details

Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
This commit is contained in:
Robert Kaussow 2021-12-04 15:37:10 +01:00
parent ae0a6a27e3
commit d6c8139662
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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 }}