Setting up persistent storage for infinispan cache and securing the cache

Hi all,

I’m new to keycloak and i’m trying to wrap my head around the keycloak documentation and configuring the infinispan cache. I have deployed to keycloak version 20 nodes that are using the S3_Ping stack with the ispn cache mechanism. I was able to setup keycloak with a persistent storage on each of the nodes, but was wondering how to set up the persistent storage to be a shared storage. I was also wondering if a shared persistent Is that the best solution for a production environment ? I’m also confused on how to secure the infinispan cache on each keycloak node, I tried looking over the documentation, but I’m lost trying to understand it. Is there any example of securing the cache and using a shared persistent storage for my nodes ?