Fetch Realm settings from elasticsearch.yml file in a static way on class load

That is not how realms work.