Answers4AWS / graffiti-monkey

Goes around tagging things
Apache License 2.0
255 stars 88 forks source link

Add support for Boto credential profiles #10

Closed jakosky closed 9 years ago

jakosky commented 9 years ago

I would like to specify which profile in my .boto file to use.

pas256 commented 9 years ago

Based on this: http://boto.readthedocs.org/en/latest/boto_config_tut.html

You can specify the profile to use by setting the environment variable AWS_PROFILE.

Is that sufficient or did you have something else in mind?

jakosky commented 9 years ago

So this worked, but it would be so much easier as a single line...

graffiti-monkey --region us-east-1 --profile work

...than this...

export AWS_PROFILE=work

graffiti-monkey --region us-east-1

unset AWS_PROFILE

On Wed, Mar 4, 2015 at 2:12 PM, Peter Sankauskas notifications@github.com wrote:

Based on this: http://boto.readthedocs.org/en/latest/boto_config_tut.html

You can specify the profile to use by setting the environment variable AWS_PROFILE.

Is that sufficient or did you have something else in mind?

— Reply to this email directly or view it on GitHub https://github.com/Answers4AWS/graffiti-monkey/issues/10#issuecomment-77248392 .

Jay Jakosky 720.244.0137

pas256 commented 9 years ago

Yeah I can see that. If you want to submit a PR, I'd accept it.

pas256 commented 9 years ago

Thanks for the PR