opened
cblack
username_0
Would it be possible to have the S3ClientFactoryImpl incorporate the new IAM Instance Roles feature (implemented in the 1.3.11 AWS SDK)?  This would allow the use of the IAM Role credentials without having to store/supply them to exhibitor.

public void changeCredentials(S3Credential credential) throws Exception
{
    RefCountedClient   newRefCountedClient = (credential != null) 
        ? new RefCountedClient(new AmazonS3Client(new BasicAWSCredentials(key, secret)
        : new RefCountedClient(new AmazonS3Client());  // Use default credential chain resolution
 }

The credential chain is:

public AmazonS3Client()

Constructs a new client to invoke service methods on Amazon S3. A credentials provider chain will be used that searches for credentials in this order:

Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
Java System Properties - aws.accessKeyId and aws.secretKey
Instance Profile Credentials - delivered through the Amazon EC2 metadata service
Change S3ClientFactoryImpl to utilize IAM Instance Roles
issue
created
rcrisial-sparkdigital
username_1
@username_0 is it possible to add ROLE_ARN support?
comment
created
rofc
username_2
@username_0 is it possible to add ROLE_ARN support?
comment