flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Frøhlich Hansen (JIRA) <j...@apache.org>
Subject [jira] [Created] (FLINK-4652) Don't pass credentials explicitly to AmazonClient - use credentials provider instead
Date Wed, 21 Sep 2016 08:38:20 GMT
Kristian Frøhlich Hansen created FLINK-4652:
-----------------------------------------------

             Summary: 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
            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)

Mime
View raw message