So far, if you pass --user to the script, you need to pass --pwd as well. With this change, if only --user is passed, then the matching password is fetched from "RegisteredUsers" in the configuration file. That way, it is not necessary to put a secret value into a healthcheck configured in docker-compose.yml or AWS ECS, for example, while still allowing the choice of which user to use for the probe request.
So far, if you pass
--user
to the script, you need to pass--pwd
as well. With this change, if only--user
is passed, then the matching password is fetched from "RegisteredUsers" in the configuration file. That way, it is not necessary to put a secret value into ahealthcheck
configured indocker-compose.yml
or AWS ECS, for example, while still allowing the choice of which user to use for the probe request.