Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to access encrypted variables in node.js script?

Arnaldas Augutis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 16, 2020

I am running node.js script from Bamboo. All Bamboo variables gets exported in environment variables and I can access them through process.env. 

The problem is that encrypted variables, like process.env.bamboo_password is not substituted with actual value and it equals to '********'.

I am building pm2 ecosystem file in node.js from my Bamboo variables so I can not pass them as arguments to node.js script.

Is there a workaround for this?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events