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 9d7777a6d29700ae3b681780968c5389b5afdd76 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Jun 1 17:09:43 2021 +0200 Camel-AWS components: Added notes about default credential provider - Translate component --- .../apache/camel/catalog/docs/aws2-translate-component.adoc | 12 ++++++++++++ .../modules/ROOT/pages/aws2-translate-component.adoc | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-translate-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-translate-component.adoc index 7de2452..2d4e53d 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-translate-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-translate-component.adoc @@ -130,6 +130,18 @@ the https://aws.amazon.com/translate/[Amazon Translate] service. == 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. + + === Message headers evaluated by the Translate producer [width="100%",cols="10%,10%,80%",options="header",] diff --git a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc index 4acefe6..ea6c3a2 100644 --- a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc @@ -132,6 +132,18 @@ the https://aws.amazon.com/translate/[Amazon Translate] service. == 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. + + === Message headers evaluated by the Translate producer [width="100%",cols="10%,10%,80%",options="header",]
