Disbale Camunda cockpit on particular enviroment

i have added camunda to my spring boot application, however i would like to disable camunda cockpit for particular profiles, how can i archive that?

Lets say i have two profiles which provide different camunda configurations via application properties. Now i would like to add a property to my applciation properties responsible for enabling/disabling camunda cockpit. Is there a default property from camunda.bpm.webapp which provides such functionality or do i need to introduce my own conditional configuration bean using @Profile/ @ConditionalOnProperty? I did not find any information on this in manual.

I am also facing the same issue and find very difficult to find a way to solve that. @Cynizm were you able to solve that?