We have SCDF triggering task on PCF, however SCDF invokes task(s) it sets SPRING_APPLICATION_JSON with datasource information in task environment variables.
This exposes sensitive database information in clear text including password which is not desirable.
Our coporate policy is to have all the sensitive information stored in vault, the apps are bound to config server which gets sensitive information from vault injects them into app.
In our current setup we bind config server to SCDF and the tasks. We don't want SCDF to pass datasource information in SPRING_APPLICATION_JSON for invoked tasks.
Is there a way to configure SCDF not to pass datasource information to invoked tasks ?