[ https://issues.apache.org/jira/browse/NIFI-1325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15072759#comment-15072759 ]
Mans Singh commented on NIFI-1325: ---------------------------------- @tkurc - Regarding duration for temp creds - My assumption is that the onTrigger call to S3 will be finished in an hour and before any onTrigger call, a call would be made to onScheduled during which the component will get new temp credentials. Please let me know if I should expose the time duration as another params. Regarding unit tests - I have added unit tests using mockito to AbstractAWSProcessorTest class for the credentials creation part. In the FetchS3Object, I added the ASSUME_ROLE_ARN to the properties and can write a test case for that. Thanks for your detailed comments and please let me know if there is other feedback/comments for me. > Enhance AWS S3 fetch to access bucket across accounts > ----------------------------------------------------- > > Key: NIFI-1325 > URL: https://issues.apache.org/jira/browse/NIFI-1325 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework > Affects Versions: 0.4.1 > Environment: All > Reporter: Mans Singh > Assignee: Tony Kurc > Priority: Minor > Labels: easyfix > Fix For: 0.4.1 > > Attachments: nifi-1325.patch.zip > > Original Estimate: 48h > Remaining Estimate: 48h > > The AWS S3 Fetch Object component does not allow access to bucket across > accounts. AWS S3 Fetch Object with can be enhanced to provide this > functionality by using assume role session/credentials -- This message was sent by Atlassian JIRA (v6.3.4#6332)