Possible to source environment variables via script only once? Or set up caching? #4150
Unanswered
krg-digital
asked this question in
Q&A
Replies: 1 comment
-
there's some caching support for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently sourcing a couple of environment variables from a script which populate those variables with values fetched via the network which works just fine, however this causes quite a delay every time a terminal command is entered and the terminal reloads. One of the variables makes use of an access token, so it does need to be periodically refreshed. I was wondering if there is some caching behavior I can configure for
_.source = "./some-script.sh"
so that it only sources from that script based on some given time span.Beta Was this translation helpful? Give feedback.
All reactions