update Environment Vars set in Posit Connect through the deployed script

Hi Team,

I have a Chainlit application that is deployed on Posit Connect. We have a requirement where we need to update the environment variables(vars which is set manually) value automatically through the deployed application, once the value expires - to avoid manual updates. Is there a way to do that in Posit Connect (This is an API deployed)?

Thanks,
Harman

You have a couple of options:

Hope that helps!