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 f6960c16896b028a6fdd5c00a99601987bfa7e0e Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Jun 1 17:07:27 2021 +0200 Camel-AWS components: Added notes about default credential provider - STS component --- .../org/apache/camel/catalog/docs/aws2-sts-component.adoc | 11 +++++++++++ docs/components/modules/ROOT/pages/aws2-sts-component.adoc | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc index 1536d06..3a0e337 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-sts-component.adoc @@ -128,6 +128,17 @@ the https://aws.amazon.com/sts/[Amazon STS] service. The AWS2 STS 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. + === STS Producer operations Camel-AWS STS component provides the following operation on the producer side: diff --git a/docs/components/modules/ROOT/pages/aws2-sts-component.adoc b/docs/components/modules/ROOT/pages/aws2-sts-component.adoc index ef591c2..2e10f70 100644 --- a/docs/components/modules/ROOT/pages/aws2-sts-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-sts-component.adoc @@ -130,6 +130,17 @@ the https://aws.amazon.com/sts/[Amazon STS] service. The AWS2 STS 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. + === STS Producer operations Camel-AWS STS component provides the following operation on the producer side:
