Does bamboo make my AWS Access Identifiers (ID & Secret) that I entered in the Admisitration Panel available anywhere on the elastic instance? I want to upload some files to an S3 bucket from one of my build plans that uses the same identifiers.
No, it's not available anywhere - you have to hardcode it in your script. We try to transfer as few credentials to the instance as possible.
You could put them in a file created via an instance setup script (check your image configuration) - in this way you'd have a single point where you define them.
So if I add:
export AWS_KEY=XXXXXX export AWS_SECRET=XXXXXX
to the setup script in the instance configuration, those vars will be available to the bamboo user when running a job via "$AWS_KEY" and "$AWS_SECRET"?
Will they also be available to the root user when running customise-extras.sh?
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...
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!
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