You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/11/03 16:19:06 UTC

[GitHub] [camel-kafka-connector] scholzj commented on issue #1263: UseDefaultCredentials Provider doesn't recognize web identity token file

scholzj commented on issue #1263:
URL: https://github.com/apache/camel-kafka-connector/issues/1263#issuecomment-959618024


   It is some time since I last used some connector connecting to AWS. But at that time I configured the AWS credentials directly in the connector configuration (see full example here: https://github.com/scholzj/demo-devconfcz-2021-apache-kafka-as-a-monitoring-data-pipeline/blob/master/09-s3-connector.yaml):
   
   ```
       camel.component.aws2-s3.accessKey: ${file:/opt/kafka/external-configuration/aws-credentials/aws-credentials.properties:aws.access-key}
       camel.component.aws2-s3.secretKey: ${file:/opt/kafka/external-configuration/aws-credentials/aws-credentials.properties:aws.secret-key}
       camel.component.aws2-s3.region: ${file:/opt/kafka/external-configuration/aws-credentials/aws-credentials.properties:aws.region}
   ```
   
   Today, you would be able to do the same also through the EnvVar Configuration Provider and environment variables. I do not remember anymore if I tried to pass the options directly as the AWS environment variables without configuring them in the connector or not. So I don't know if it worked for me or not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org