singee
(Singee)
December 9, 2022, 4:13am
1
I’m using a data store to store some tokens, but it’s too slow (and sometimes even cause a timeout).
I want to switch to using Environment Variables, but I can’t find any way to update the value via an API (or Pipedream action).
Could you please add some ways to edit it programmatically?
pierce
(Pierce)
December 9, 2022, 3:45pm
2
Hi @singee
First off, welcome to the Pipedream community. Happy to have you!
No, we do not offer a way to programmatically alter ENV variables.
Are you trying to switch between a development vs staging vs production version of a variable by chance?
singee
(Singee)
December 19, 2022, 2:38am
3
Thanks for your reply @pierce
No. My scene is that some of my tokens will be rollover every month, so I need a programmatical way to change the env variable.
1 Like
ritesh
(Ritesh)
October 28, 2024, 11:19am
4
I am also facing issue while handling rollover tokens. Keeping it in data store feel like a security issue, but there is no other option as I need to update the key every time it expires programatically.
danny
(Danny Roosevelt)
October 28, 2024, 3:50pm
5
@ritesh is this for an API you need to access? Can we add integrate the app and handle the token refresh for you? Do you have API docs for it?