[ 
https://issues.apache.org/jira/browse/FLINK-4652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582277#comment-15582277
 ] 

ASF GitHub Bot commented on FLINK-4652:
---------------------------------------

Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/2635
  
    +1 from me as well
    Please feel free to merge.


> Don't pass credentials explicitly to AmazonClient - use credentials provider 
> instead
> ------------------------------------------------------------------------------------
>
>                 Key: FLINK-4652
>                 URL: https://issues.apache.org/jira/browse/FLINK-4652
>             Project: Flink
>          Issue Type: Bug
>          Components: Kinesis Connector
>    Affects Versions: 1.2.0
>            Reporter: Kristian Frøhlich Hansen
>            Assignee: Greg Hogan
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> 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'. To utilize automatic refreshment of credentials pass the 
> AWSCredentialsProvider direclty to AmazonClient by removing the 
> getCredentials() call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to