Username and Password for using Client

I am working on a project where I have a requirement to eliminate passing username and password while publishing or subscribing to a cedalo broker in which the Dynamic security plugin is enabled. Is there a way to achieve this functionality while keeping Dynamic security plugin enabled? If yes, please share an example.

What do you mean by eliminating “passing username and password”
Would using client certificates be an option that would check your requirement?