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 b3ba1e554240f81f540aeadedc15ddd5c59ca857
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Jun 1 12:08:26 2021 +0200

    Camel-AWS components: Added notes about default credential provider - IAM 
component
---
 .../camel-aws2-iam/src/main/docs/aws2-iam-component.adoc   | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git 
a/components/camel-aws/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc 
b/components/camel-aws/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
index 066a948..dfe60c3 100644
--- a/components/camel-aws/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
+++ b/components/camel-aws/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc
@@ -148,6 +148,20 @@ the https://aws.amazon.com/iam/[Amazon IAM] service.
 The AWS2 IAM component works on the aws-global region and it has aws-global as 
default region
 ====
 
+
+=== 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]
+
 === IAM Producer operations
 
 Camel-AWS2 IAM component provides the following operation on the producer side:

Reply via email to