Inject credentials into workflow

Hello.

I have defined a workflow A that requires credentials (for DB Connector).

I’m invoking this workflow A form workflow B. Think of workflow B as master orchestrator.

What is the best way to inject db credentials from workflow B into workflow A?

The setup looks like this:

What’s the best way to inject credentials into workflow A?

I was thinking about adding ‘Credential Configuration’ node into workflow A but I have no idea how to override it from parent workflow… any suggestions?