Thank you for reaching out to us. You're complete right, currently we do not support multi-credentials usage in our connectors. I'll communicate this with the team. For now, I'd suggest one of two methods to bypass the issue you're facing:
On top of that, we're very eager to learn about the reason as to why you're invoking functions from different accounts. Do you mind eloborating on this?
I hope this helps, feel free to reach out to me with additional questions.
The reason I want to be able invoke lambdas in multiple accounts is because our AWS environment uses an organizational structure with e.g. staging and production VPCs in separate accounts. Our Mendix App needs to invoke lambda functions in both these accounts since these functions are executed in the respecive VPCs.
Like I said I can easily accomodate this by modifying the InvokeFunction/GetCredentials microflows.
Marcel du Bois