It should be possible to enter a value for an input variable without having the UI show what is typed by setting a password attribute for the variable to true:
"inputs": [
{
"id": "authPassword",
"type": "promptString",
"description": "Password for authentication",
"password": true
}
]