Forums

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

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

Evan Rosal
Contributor
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
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events