Keycloak client secrets populated into pods and used in the keycloak adapter config

hi i have k8 platform where the client is created in advance then a service is deployed should have access to the client secret generated and use that as the adapter config.
is that a possible scenario?
all examples shows the adapter data hardcoded.