#Are interpolations in workers secret supported??

3 messages · Page 1 of 1 (latest)

pearl basin
#

Are interpolations in .env file get processed when uploaded using wrangler secret bulk command?
My .env file contains

VAR_A=variable_a
VAR_B=${VAR_A}/variable_b

would VAR_B results to variable_a/variable_b?

upper parrot
#

No, this would come through with the value ${VAR_A}/variable_b

#

I've not encountered this use case before, can you give me a bit more detail on how you would use the feature? Examples of it elsewhere?