Just use -p and The remainder as specified. The execution of your script will interrogate you for your password securely.
Alternatively, you may make a new user account which will only connect from your remote host https://www.ralantech.com/mysql-dba-support-services/