Added support for S3 avatar enabling and configuration

This commit is contained in:
Mauro Mugnaini 2024-02-21 17:09:02 +01:00
parent d423d87cd2
commit 150fbef519
Signed by untrusted user: mauro.mugnaini
GPG Key ID: 2440CFD0EB321EA8
1 changed files with 7 additions and 0 deletions

View File

@ -44,6 +44,13 @@ hostname={{ keycloak_hostname }}
spi-avatar-storage-avatar-storage-file-avatar-folder={{ keycloak_external_avatar_dir}}
{% endif %}
{% if keycloak_s3_avatar_enabled %}
spi-avatar-storage-avatar-storage-s3-server-url={{ keycloak_s3_avatar_url }}
spi-avatar-storage-avatar-storage-s3-access-key={{ keycloak_s3_avatar_key }}
spi-avatar-storage-avatar-storage-s3-secret-key={{ keycloak_s3_avatar_secret }}
spi-avatar-storage-avatar-storage-s3-root-bucket={{ keycloak_s3_avatar_bucket }}
{% endif %}
{% if keycloak_cluster %}
# Do not attach route to cookies and rely on the session affinity capabilities from reverse proxy
spi-sticky-session-encoder-infinispan-should-attach-route={{ keycloak_reverse_proxy_infinispan_attach_route }}