Ardash,
I read 2 concerns here, One is refresh for a long running process and the other is secret rotation. For long running processes with the Python SDK, it’s my understanding that the token will (should) be refreshed via the SDK. The secret you use for running the workflow should be managed (stored and rotated) externally as any other secrets.
Hope this helps :)
Jason
Hi @Adarsh Dhiman, and thank you for insight!
Can you not use a standard approach to managing the OAuth refresh_token in the environment, or is this a request for some way of automating the refresh process (asynchronously?), alternatively some SDK specific way of storing the refresh token for when it’s needed, outside of your own application/script/program?
Hi @Adarsh Dhiman, would you be able to add some more details here? :)
Hi Carin & Thomas,
Thank you. The explanation provided by Jason has clarified my understanding. I will get in case of any additional questions.
Regards,
Adarsh