I’m setting up OpenDistro Kibana and Elasticsearch, but my Config files/Code will be in a company wide code repository.
Because of this I don’t want plaintext (or even hashed) username/password combos in our config files.
The kibana.yml file requires the following be set for Kibana to access ES
elasticsearch.username: “admin”
elasticsearch.password: “admin”
Is there a way to modify this to allow a cert file?
Hugo
2
rt711
3
Use configuration management tool to encrypt the password. AES-256 encrypted data can be stored in repository.
With Ansible the variables are encrypted with vault, and I’m pretty sure encryption can be applied with Chef databags or Puppet Hiera.
I already implemented encrypted passwords feature here: GitHub - rt711/opendistro-for-elasticsearch-ansible: OpenDistro for ElasticSearch Ansible deployment