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.
Community moderators have prevented the ability to post new answers.
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.
Thanks!
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, that won't work. You'd need to store them in a file and access it from your scripts.
If you want to make them available in customise-extras.sh, you can also put them into
/etc/defaults
on your EBS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.