You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gabor Gyimesi (Jira)" <ji...@apache.org> on 2021/07/12 15:40:00 UTC

[jira] [Created] (MINIFICPP-1605) Renewing AWS credentials not working when using instance profiles

Gabor Gyimesi created MINIFICPP-1605:
----------------------------------------

             Summary: Renewing AWS credentials not working when using instance profiles
                 Key: MINIFICPP-1605
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1605
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Gabor Gyimesi
            Assignee: Gabor Gyimesi


When using AWS instance profile for AWS processors through AWS Credentials Service the credentials can expire after a few days. According to the AWS developer support (https://github.com/aws/aws-sdk-cpp/issues/1684) when using instance profiles we should not cache the credentials as due to a time skew problem the credentials may expire on AWS side even though it can be non-expired when checked on client side.

When using default credentials chain we should let the AWS SDK handle the caching and renewing the credentials and not cache manually on client side.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)