It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Access value of secure environment variable in Pipelines

I am writing some code to integrate with AWS, using APIs (Node.js) but keep getting stuck at the point of the SDK tries to authenticate with AWS in the signature generation. Both my ACCESS and SECRET keys were marked as secure. 

I have reverted the AWS_ACCESS_KEY_ID variable to be non-secure and managed to get an authentication error, rather than a signature error (as I was getting when this variable was secured), which leads me to beleive its to do with my scripts not being able to access the secure variable value correctly.

I have tried to access via process.env or pass them in as args to no avail.

What is the correct way of ensuring the correct value is used by any script, bash or node?



0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 6 hours ago in Jira

Upcoming Enterprise releases targeting Q3 2019: Jira Software 8.5 & Jira Service Desk 4.5

Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...

177 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you