How to send/publish MQTT from an automation with credentials?

How can I add mqtt-credentials (username+password) to mqtt.publish


to use it in an automation… ?

my mqtt-broker is password protected.