File realm users and cluster state size

Hi. Question about file realm authentication in Elasticsearch...

My cluster is deployed in Docker and every time I am deploying changes I recreate containers and on each node execute command for adding user to file realm.

How exactly are those users handled by Elasticsearch? Simply as entries in files inside containers that get recreated or do they have some meta data stored in cluster stack as well? Is there a chance for cluster state to increase in size after many times those file realm users get recreated?

For deployment purposes it is easier for me to simply recreate them in containers when needed than to handled them as external files and map them inside containers.

Thanks,
Zvonimir

Yeap! File realm is node specific and additions/changes in it do not get reflected to the cluster state.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.