Is there a way to set the usename of mqtt dynamically

I want to set the mqtt username dynamically using the default node red mqtt node? Any hits as to how i can do it?

Thanks

Not dynamically no - but you can set it using an environment variable at start time using the $(MY_ENV_VAR) syntax in the field to read MY_ENV_VAR

Thanks, will check it out.