Need to Store Secrets In A File For An Application

A Java application I wrote expects a password in a config file. I want to store the password as a secret in Harness and then put it in the file. When I do this the value in the file is **********. Is there anyway I can do this? Right now I am storing them as in input variable in clear text. I could make them input variables into Harness but I do not know users to know them and they could mistype - password is really long.

Nevermind I figured it out