Denis Magda created IGNITE-4530:
-----------------------------------

             Summary: Passing AWSCredentialsProvider to TcpDiscoveryS3IpFinder
                 Key: IGNITE-4530
                 URL: https://issues.apache.org/jira/browse/IGNITE-4530
             Project: Ignite
          Issue Type: Bug
            Reporter: Denis Magda


{{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}}:

{code}
    public void setAwsCredentialsProvider(AWSCredentialsProvider provider) {
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to