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)