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

Pass around AWSCredentialProviders instead of AWSCredentials #284

Closed
wants to merge 2 commits into from

Conversation

JoshRosen
Copy link
Contributor

This patch refactors the library internals to pass around AWSCredentialProvider instances instead of AWSCredentials, helping to avoid issues where temporary credentials are obtained at the start of a read or write operation and then expire when they are re-used later in the operation.

This fixes #200.

@JoshRosen JoshRosen added this to the 2.1.0 milestone Oct 18, 2016
@codecov-io
Copy link

codecov-io commented Oct 18, 2016

Current coverage is 89.00% (diff: 80.00%)

Merging #284 into master will decrease coverage by 0.11%

@@             master       #284   diff @@
==========================================
  Files            12         12          
  Lines           653        655     +2   
  Methods         526        526          
  Messages          0          0          
  Branches        127        129     +2   
==========================================
+ Hits            582        583     +1   
- Misses           71         72     +1   
  Partials          0          0          

Powered by Codecov. Last update a9963da...990b7d7

@JoshRosen
Copy link
Contributor Author

Going to merge this into master.

@JoshRosen JoshRosen closed this in bdf4462 Oct 19, 2016
@JoshRosen JoshRosen deleted the credential-expiry branch October 19, 2016 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IAM Role credentials can expire between unload / load into Redshift
2 participants