Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-25596

Nuxeo Vision for AWS Rekognition should use Environment Variables

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.10-HF14, 10.2
    • Fix Version/s: 9.10-HF20, 10.3
    • Component/s: Nuxeo Vision

      Description

      On 9.10-HF20 nuxeo-vision access some configuration keys:

      org.nuxeo.vision.aws.region=
      org.nuxeo.vision.aws.key=
      org.nuxeo.vision.aws.secret=
      

      When deploying Nuxeo on AWS and using AIM roles/Policies, we do not provide secret/key, but then the plugin fails because it does not use the environment variables automatically set up by AWS on the EC2 instance.

      There should be a fallback in the code: If these configuration keys are empty, then, get the environment variables. I believe it is in the AmazonRekognitionProvider#getClient part of the code, here

      On 10.3 the standard Nuxeo AWS service configuration keys are now used:

      nuxeo.aws.region=
      nuxeo.aws.accessKeyId=
      nuxeo.aws.secretKey=
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 8 minutes
                  8m