When using Password parameter to accept user credentials, Jenkins Build History -> Parameters is showing Password in plain text.
How to mask it?
You can use Mask Passwords Plugin.
With this plugin, passwords don't appear as plain text in the job configuration or in the console.