You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Oli Dewdney (JIRA)" <ji...@apache.org> on 2014/11/19 12:57:34 UTC

[jira] [Created] (JCR-3831) S3 DataStore to use Instance Roles

Oli Dewdney created JCR-3831:
--------------------------------

             Summary: S3 DataStore to use Instance Roles
                 Key: JCR-3831
                 URL: https://issues.apache.org/jira/browse/JCR-3831
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-core
         Environment: AWS EC2
            Reporter: Oli Dewdney
            Priority: Minor


The S3Backend class currently requires the ACCESS_KEY and SECRET_KEY in the configuration. AWS allows the use of keys supplied to the EC2 Instance in the metadata to access the AWS API, thus removing hardcoded, permanent, externalably usable security info in config files.

I propose the use of com.amazonaws.auth.DefaultAWSCredentialsProviderChain class instead of the BasicAWSCredentials class if the ACCESS_KEY is not supplied in the openService method of the /jackrabbit-aws-ext/src/main/java/org/apache/jackrabbit/aws/ext/Utils.java class.



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