Using a Password as an Environment Variable
Use the following steps as a guideline to use an encrypted password as an environment variable:
Use the command line program pmpasswd to encrypt the password.
pmpasswd generates and displays the encrypted password. For example, if you enter the password “monday,” the password encrypts to f/wRb5PZsZnqESTDPeos7Q==.
Configure the password environment variable to set the encrypted value.