States that we can use "bin/x-pack/setup-passwords interactive" to set a password.
I am trying to use this to set the password for the builtin "elastic" user.
However, when I exec into one of my containers (I am running this in docker swarm).
There is no "setup-password" tool.
[root@7dc2db93c29f elasticsearch]# ls bin/ elasticsearch elasticsearch-cli elasticsearch-enve elasticsearch-node elasticsearch-setup-passwords elasticsearch-sql-cli-7.1.1.jar x-pack-env elasticsearch-certgen elasticsearch-croneval elasticsearch-keystore elasticsearch-plugin elasticsearch-shard elasticsearch-syskeygen x-pack-security-env elasticsearch-certutil elasticsearch-env elasticsearch-migrate elasticsearch-saml-metadata elasticsearch-sql-cli elasticsearch-users x-pack-watcher-env
How do I set these passwords?
Additionally, I have tried setting environment variables in my docker-compose.yml file with "ELASTIC_PASSWORD" and "ELASTIC_USERNAME" and those do not work either.
I cannot set it with curl because I cannot authenticate at all with XPack security enabled.
I am using a trial license but I have a platinum license that I haven't applied yet. Does this feature work differently somehow?
The documentation seems very confusing and I can't tell which features are supported in docker, which aren't, or how any of this is supposed to even work in docker.