Liquibase hiding or allowing encrypted password

Hi, I am using command line to pass the mysql clear text password to Liquibase on our AWS EC2 Linux servers. The same password is displayed via ps command. Is there a way to somehow either use encrypted password with Liquibase or hide this password when someone uses “ps -ef” command?

Put the username and password into a file, then it will not show in a ps.

Thanks. But password in the properties file on disk is in clear text which is still unsafe as it can be read. Is there a way to allow Liquibase to use encrypted password in that file or command line like MySql mask the password given in command line so that in “ps -ef” it shows as all stars?

Permissions on the file needs to be set appropriately for your needs. As far as I know there is no ability to encrypt the password on the command line.