Skip to content
This repository was archived by the owner on Mar 9, 2026. It is now read-only.

Fix CloudSearchDomain signing on EC2 instance#449

Merged
lsegal merged 1 commit intomasterfrom
fix-cloudsearchdomain-signing
Dec 22, 2014
Merged

Fix CloudSearchDomain signing on EC2 instance#449
lsegal merged 1 commit intomasterfrom
fix-cloudsearchdomain-signing

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