I am using apache camel for reading msg from AWS SQS. It Works exactly as expected when passing AWS AccessKey SecretKey in URI but.. I Don't want to add secret keys in URI I want it to take default credentials from Instance Role. I have given SQS permission to my IAM Role but don't know how to pass it to camel.
from("aws-sqs://Queue-name?accessKey=....&secretKey=....®ion=EU_WEST_1")
.bean(bean.class, method)
.toD("https://www.")
Please help me in this