Cluster basic auth username and password

Hi, I came across two environment variables CLUSTER_BASIC_AUTH_USERNAME and CLUSTER_BASIC_AUTH_PASSWORD. What is the use of these two ?

hi @Dharanish !!

Thanks for spotting this undocumented feature!! :hugs:

Those will activate internal basic auth for “inter node” communication within a Weaviate cluster.

So they must be the same across all your nodes. Weaviate will then use those values to both request auth for it’s internal APIs and as the credentials to communicate with other nodes.

Let me know if this helps and thanks again for being such an amazing community member :heart_eyes:

1 Like