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

Remove unnecessary credentials retrieval #34

Merged
merged 1 commit into from
Oct 13, 2018
Merged

Conversation

aapolait
Copy link
Contributor

Issue #, if available: N/A

Description of changes: Just overriding the signer to a no-op signer in client config still causes the default credentials provider chain to be invoked and fail in the absence of credentials obtainable by the default chain. Instead, build the client with anonymous credentials, which skips both signing and credentials retrieval.

Local mvn verify -Dgpg.skip=true passes.

Discussed this with @haotianw465 previously.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Just overriding the signer to a no-op signer in client config still
causes the default credentials provider chain to be invoked and fail in
the absence of credentials obtainable by the default chain. Instead,
build the client with anonymous credentials, which skips both signing
and credentials retrieval.
@haotianw465 haotianw465 merged commit 901f2f9 into aws:master Oct 13, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants