Elasticsearch 7.5.1 does not have elasticsearch-keystore command


I have recently upgraded form elasticsearch 6.5.2 to 7.5.1 and when trying to add secrets to the keystore via bin/elasticsearch-keystore add I get the error message that the command was not found. There is no binary elasticsearch-keystore in the bin directory of that VM.

Are we supposed to install an additional plugin to support this?

Thank you in advance.

Have you by any chance installed the OSS distribution instead of the default one?

I just installed the default one by apt-get install elasticsearch=7.5.1

And I found the binary in /usr/share/elasticsearch
/usr/share/elasticsearch/bin/elasticsearch-keystore . I was having the wrong impression that it will be under the root bin directory.