GitHub user greghogan opened a pull request:

    https://github.com/apache/flink/pull/2635

    [FLINK-4652] [streaming connectors] Automatically refresh AWS credentials

    By using the credentials explicitly we are responsible for checking and 
refreshing credentials before they expire. If no refreshment is done we will 
encounter AmazonServiceException: 'The security token included in the request 
is expired'. Utilize automatic refreshment of credentials by passing the 
AWSCredentialsProvider directly to AmazonClient by removing the 
getCredentials() call.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/greghogan/flink 
4652_dont_pass_credentials_explicitly_to_amazonclient

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2635.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2635
    
----
commit 7958e6e595ff9a1e9b83c4e8fa9b4a69a3427d3f
Author: Greg Hogan <c...@greghogan.com>
Date:   2016-10-14T13:24:14Z

    [FLINK-4652] [streaming connectors] Automatically refresh AWS credentials
    
    By using the credentials explicitly we are responsible for checking and
    refreshing credentials before they expire. If no refreshment is done we
    will encounter AmazonServiceException: 'The security token included in
    the request is expired'. Utilize automatic refreshment of credentials
    by passing the AWSCredentialsProvider directly to AmazonClient by removing
    the getCredentials() call.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to