Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can I use an array or map or a Json file as environment variable in bitbucket pipeline?

Evan Rosal December 20, 2020

Hi,

 

I have a set of keys / secrets that I would like to store in a single JSON file instead of separate repository variables in Bitbucket pipeline like the below:

(

"ENV":

 {

  "API_USERNAME": "",

 "API_PASSWORD": "",

 "AWS_ACCESS_KEY": ""

 }

}

Is this possible in Bitbucket pipeline? If yes, how can I call the values? (e.g. $ENV_VAR.ENV.API_IDENTITY_USERNAME)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events