$ export HISTCONTROL=ignoreboth $ echo 'supersecret' | whatever
Alright if you prefer:
read PW; sleep 3; xdotool type "$PW"
sleep 3; xdotool type "$(xclip -o)"
It is also the default on fish shell in the same anecdotal experience.