Skip to content

Fix CloudSearchDomain signing on EC2 instance #449

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

Merged
merged 1 commit into from
Dec 22, 2014

Conversation

AdityaManohar
Copy link
Contributor

CloudSearchDomain requests are not signed if there are no credentials. Simply checking for service.config.credentials does not suffice, because this fails if the code is using EC2 metadata credentials.

This is now fixed to detach the signer asynchronously if config.getCredentials returns an err (no credentials found).

I also fixed a couple of tests that were polluting process state.

This is a high priority fix, so please review and merge as soon as possible.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.16%) when pulling bf8ece7 on fix-cloudsearchdomain-signing into 8a15f08 on master.

lsegal added a commit that referenced this pull request Dec 22, 2014
Fix CloudSearchDomain signing on EC2 instance
@lsegal lsegal merged commit 8c0c268 into master Dec 22, 2014
@lsegal lsegal deleted the fix-cloudsearchdomain-signing branch December 22, 2014 05:51
AdityaManohar added a commit that referenced this pull request Jan 8, 2015
@lock
Copy link

lock bot commented Sep 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants