Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Boto credential profiles #10

Closed
jakosky opened this issue Mar 4, 2015 · 4 comments
Closed

Add support for Boto credential profiles #10

jakosky opened this issue Mar 4, 2015 · 4 comments

Comments

@jakosky
Copy link

jakosky commented Mar 4, 2015

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

@pas256
Copy link
Member

pas256 commented Mar 4, 2015

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
Copy link
Author

jakosky commented Mar 6, 2015

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
#10 (comment)
.

Jay Jakosky
720.244.0137

@pas256
Copy link
Member

pas256 commented Mar 6, 2015

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

paulwakeford added a commit to paulwakeford/graffiti-monkey that referenced this issue Apr 6, 2015
Added optional command line argument --profile which is used to specify
the credential profile used to connect to EC2. Closes issue Answers4AWS#10.
@pas256
Copy link
Member

pas256 commented Apr 10, 2015

Thanks for the PR

@pas256 pas256 closed this as completed Apr 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants