I'm working on chef recipes to install elasticsearch 7 (7.2.1) with all kinds of security enabled. I've gotten it to make self signed certificates. I've run the
elasticsearch-setup-passwords to set the passwords of the system (reserved) accounts. And found the
/_security/user/jacknich/_password API to set passwords. But I can't seem to find a way to give elasticsearch a crypt instead of a plaintext password when setting the passwords of the system accounts so that I don't need to store the passwords in plain text anywhere in chef.
I've found that I can define other users in a
file store but elasticsearch protests loudly when I try to put any reserved user names in there.
So, any way I can put crypts into elasticsearch to set system account passwords?