Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15779

Use DefaultAWSCredentialsProviderChain to load AWS credentials from different sources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • camel-aws2
    • None
    • Unknown

    Description

      Currently both aws.s3 and aws2.s3 IAM optimized client implementations are using a hard-coded InstanceProfileCredentialsProvider. It means that you can only use it from EC2 instance, and it will not work in ECS or Fargate task. 

      It will make much more sense to use a DefaultCredentialsProviderChain (DefaultCredentialsProvider for v2). In this case we will be able to use multiple methods for supplying credentials - Java System Properties, Environment Variables, Credential profiles file, Credentials delivered through the Amazon EC2 container service, 
      Instance profile credentials delivered through the Amazon EC2 metadata service.

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            sintezcs Alexey Minakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: