Instead of requiring the user to enter their password in an argument to the script where it's visible in plaintext in the history, can you provide an option to prompt the password with a shell command like read -s pass that shows a password field to the user so it keeps the text hidden, and prevents people from having to workaround shell characters like ! if present in their password?