Hi @Rohit_Gurav,
This looks like a similar question to this one here: Passing credentials as variables and this is the solution that’s being suggested:
There’s also a feature request to Allow expression for credential selection which might be relevant. Hope that helps