You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2016/10/14 13:22:20 UTC
[jira] [Assigned] (FLINK-4652) Don't pass credentials explicitly to
AmazonClient - use credentials provider instead
[ https://issues.apache.org/jira/browse/FLINK-4652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Hogan reassigned FLINK-4652:
---------------------------------
Assignee: Greg Hogan
> 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)