It will be nice if subsystem can just inject dependencies ( KeycloakDependencyProcessor ), but ignore adding subsystem configuration ( KeycloakAdapterConfigDeploymentProcessor ).
The workaround I used was to add secure-deployment section to standalone.xml with some dummy values, which are mandatory for subsystem. It works, but it's really not too pretty IMO. Something like:
What will be nice is to to improve usability for the usecase when you want just inject dependencies, so this will work just fine: