The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events