Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4530

Passing AWSCredentialsProvider to TcpDiscoveryS3IpFinder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8
    • 1.9, 2.0
    • None
    • None

    Description

      TcpDiscoveryS3IpFinder accepts credentials in a form of AWSCredentials only. This might not be enough for all the cases. In a situation when the credentials get expired a special instance of AWSCredentialsProvider can renew them automatically.

      However, the credentials will not be updated if StaticCredentialsProvider is used. This provider is created automatically if user provides raw AWSCredentials.

      We need to add new method to TcpDiscoveryS3IpFinder that will accept AWSCredentialsProvider:

          public void setAwsCredentialsProvider(AWSCredentialsProvider provider) {
      

      A new test has to be added to TcpDiscoveryS3IpFinderSelfTest as well.

      For more details refer to a discussion on the user list:
      http://apache-ignite-users.70518.x6.nabble.com/Old-AWS-SDK-version-why-td9824.html

      Attachments

        Issue Links

          Activity

            People

              akazlou Aliaksandr Kazlou
              dmagda Denis A. Magda
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m