This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit aac70df3f6ce5a0a2263dbfbd1eb5fcdc5595636 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Jun 1 16:01:48 2021 +0200 Camel-AWS components: Added notes about default credential provider - SQS component --- .../camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/components/camel-aws/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc b/components/camel-aws/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc index 6970ec0..b4a4160 100644 --- a/components/camel-aws/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc +++ b/components/camel-aws/camel-aws2-sqs/src/main/docs/aws2-sqs-component.adoc @@ -215,6 +215,19 @@ aggregate this number of messages. == Usage +=== Static credentials vs Default Credential Provider + +You have the possibility of avoiding the usage of explicit static credentials, by specifying the useDefaultCredentialsProvider option and set it to true. + + - Java system properties - aws.accessKeyId and aws.secretKey + - Environment variables - AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. + - Web Identity Token from AWS STS. + - The shared credentials and config files. + - Amazon ECS container credentials - loaded from the Amazon ECS if the environment variable AWS_CONTAINER_CREDENTIALS_RELATIVE_URI is set. + - Amazon EC2 Instance profile credentials. + +For more information about this you can look at https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials.html[AWS credentials documentation] + === Message headers set by the SQS producer [width="100%",cols="10%,10%,80%",options="header",]
