I have Automator mounting a volume with
hdiutil, but it requires a password to mount.
Natively macOS would prompt with a hidden-password input field; but I don't know how to trigger the same when running
hdutil. In fact, running in an invisible bash script then the password prompt can't be shown.
So I've added "Ask for Text" to provide the password to the script, but this shows the typed password in clear plain text; that is not ideal for security reasons.
How can I show asterisks instead? Or how can I trigger the the native macOS mount password prompt?