[jira] [Commented] (FINERACT-380) S3 permission issue -- add system property
[ https://issues.apache.org/jira/browse/FINERACT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15831370#comment-15831370 ] ASF GitHub Bot commented on FINERACT-380: - Github user asfgit closed the pull request at: https://github.com/apache/incubator-fineract/pull/278 > S3 permission issue -- add system property > -- > > Key: FINERACT-380 > URL: https://issues.apache.org/jira/browse/FINERACT-380 > Project: Apache Fineract > Issue Type: Improvement >Reporter: thynn win >Assignee: Shaik Nazeer Hussain >Priority: Critical > Labels: p1 > > Due to signature version 4 issue, I am unable to use S3 with Mifos. > Amazon suggested we add a system property and could you please help us add > this in the next version? > AWS Error Code: InvalidRequest, AWS Error Message: The authorization > mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. > http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FINERACT-380) S3 permission issue -- add system property
[ https://issues.apache.org/jira/browse/FINERACT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829691#comment-15829691 ] ASF GitHub Bot commented on FINERACT-380: - GitHub user nazeer1100126 opened a pull request: https://github.com/apache/incubator-fineract/pull/278 FINERACT-380 S3 permission issue -- add system property You can merge this pull request into a Git repository by running: $ git pull https://github.com/nazeer1100126/incubator-fineract FINERACT-380 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-fineract/pull/278.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #278 commit b4156ed1ef703b29777005fbec673ab7f1e9c5ad Author: Nazeer Hussain Shaik Date: 2017-01-19T10:30:34Z FINERACT-380 S3 permission issue -- add system property > S3 permission issue -- add system property > -- > > Key: FINERACT-380 > URL: https://issues.apache.org/jira/browse/FINERACT-380 > Project: Apache Fineract > Issue Type: Improvement >Reporter: thynn win >Assignee: Shaik Nazeer Hussain >Priority: Critical > Labels: p1 > > Due to signature version 4 issue, I am unable to use S3 with Mifos. > Amazon suggested we add a system property and could you please help us add > this in the next version? > AWS Error Code: InvalidRequest, AWS Error Message: The authorization > mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. > http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FINERACT-380) S3 permission issue -- add system property
[ https://issues.apache.org/jira/browse/FINERACT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829564#comment-15829564 ] Shaik Nazeer Hussain commented on FINERACT-380: --- I have tested by adding mentioned system property and updating aws java sdk to 1.11.80 and I don't see any issue. But the problem is, this dependency is adding 50 MB aws jars to war file. I have started analyzing how to exclude the unnecessary jars. > S3 permission issue -- add system property > -- > > Key: FINERACT-380 > URL: https://issues.apache.org/jira/browse/FINERACT-380 > Project: Apache Fineract > Issue Type: Improvement >Reporter: thynn win >Assignee: Shaik Nazeer Hussain >Priority: Critical > Labels: p1 > > Due to signature version 4 issue, I am unable to use S3 with Mifos. > Amazon suggested we add a system property and could you please help us add > this in the next version? > AWS Error Code: InvalidRequest, AWS Error Message: The authorization > mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. > http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FINERACT-380) S3 permission issue -- add system property
[ https://issues.apache.org/jira/browse/FINERACT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827972#comment-15827972 ] Shaik Nazeer Hussain commented on FINERACT-380: --- Got the update from AWS and see the comments below The current policy only allows actions on the bucket (like List), it does not allow actions on objects in the bucket. If this is required, you will need to update the IAM policy as follows: { "Version": "2012-10-17", "Statement": [ { "Action": [ "s3:*" ], "Resource": [ "arn:aws:s3:::prd-prdbeta", "arn:aws:s3:::prd-prdbeta/*" ], "Effect": "Allow" } ] } A similar example is shown here: http://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_examples.html > S3 permission issue -- add system property > -- > > Key: FINERACT-380 > URL: https://issues.apache.org/jira/browse/FINERACT-380 > Project: Apache Fineract > Issue Type: Improvement >Reporter: thynn win >Assignee: Shaik Nazeer Hussain >Priority: Critical > Labels: p1 > > Due to signature version 4 issue, I am unable to use S3 with Mifos. > Amazon suggested we add a system property and could you please help us add > this in the next version? > AWS Error Code: InvalidRequest, AWS Error Message: The authorization > mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. > http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FINERACT-380) S3 permission issue -- add system property
[ https://issues.apache.org/jira/browse/FINERACT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15827534#comment-15827534 ] Shaik Nazeer Hussain commented on FINERACT-380: --- AWS support ticket is raised as we are getting the following exception for region Regions.AP_NORTHEAST_2 Java Exception: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: x), S3 Extended Request ID: xx > S3 permission issue -- add system property > -- > > Key: FINERACT-380 > URL: https://issues.apache.org/jira/browse/FINERACT-380 > Project: Apache Fineract > Issue Type: Improvement >Reporter: thynn win >Assignee: Shaik Nazeer Hussain >Priority: Critical > Labels: p1 > > Due to signature version 4 issue, I am unable to use S3 with Mifos. > Amazon suggested we add a system property and could you please help us add > this in the next version? > AWS Error Code: InvalidRequest, AWS Error Message: The authorization > mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. > http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FINERACT-380) S3 permission issue -- add system property
[ https://issues.apache.org/jira/browse/FINERACT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15825605#comment-15825605 ] Shaik Nazeer Hussain commented on FINERACT-380: --- I tried with aws-java-sdk V1.11.79 and with user credentials provided by Thynn. I am getting 403. Amazon S3 issue Access Denied (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 9EF03967A8174EA0) > S3 permission issue -- add system property > -- > > Key: FINERACT-380 > URL: https://issues.apache.org/jira/browse/FINERACT-380 > Project: Apache Fineract > Issue Type: Improvement >Reporter: thynn win >Assignee: Shaik Nazeer Hussain >Priority: Critical > Labels: p1 > > Due to signature version 4 issue, I am unable to use S3 with Mifos. > Amazon suggested we add a system property and could you please help us add > this in the next version? > AWS Error Code: InvalidRequest, AWS Error Message: The authorization > mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. > http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FINERACT-380) S3 permission issue -- add system property
[ https://issues.apache.org/jira/browse/FINERACT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15825482#comment-15825482 ] Shaik Nazeer Hussain commented on FINERACT-380: --- I don't find SDKGlobalConfiguration.ENABLE_S3_SIGV4_SYSTEM_PROPERTY in current version of S3 Java SDK. Looks like we need to migrate to newer version. i am trying to find some info in google on this. > S3 permission issue -- add system property > -- > > Key: FINERACT-380 > URL: https://issues.apache.org/jira/browse/FINERACT-380 > Project: Apache Fineract > Issue Type: Improvement >Reporter: thynn win >Assignee: Shaik Nazeer Hussain >Priority: Critical > Labels: p1 > > Due to signature version 4 issue, I am unable to use S3 with Mifos. > Amazon suggested we add a system property and could you please help us add > this in the next version? > AWS Error Code: InvalidRequest, AWS Error Message: The authorization > mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. > http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version -- This message was sent by Atlassian JIRA (v6.3.4#6332)