Hi
Reading below link to implement Basic Authentication for my application to integrate with ElasticSearch
https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_basic_authentication.html
But, how to secure my password? I could not put my password in cleartext in the Java code.
new UsernamePasswordCredentials("user", "password"));
any help is appreciated.
Thanks