Workflow not recognizing keys from multiple environment

I have a workflow that creates stripe subscription for a new user after they fill up retool form.
I tried using the stripe test key in stage. test works works fine. Now i am switching to production and stripe prod key is set for stripe resource prod, hoping the prod workflow use the prod key for stripe, but it keeps using the test key.
I thought it would be possible the prod workflow use the prod stripe key and stage workflow use stage stripe key. Is it not a supported scenario? Is it becasue i am using retool form that triggers the workflow . I am kind of lost her. any pointer would be highly appreciated.