Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4652

Don't pass credentials explicitly to AmazonClient - use credentials provider instead

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 1.2.0
    • 1.2.0
    • Connectors / Kinesis
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              greghogan Greg Hogan
              kristfh Kristian Frøhlich Hansen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: