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 ae8d3bd09f73e486ff25f91dbd27504a9dfdb656 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Jun 1 12:33:37 2021 +0200 Camel-AWS components: Added notes about default credential provider - KMS component --- .../org/apache/camel/catalog/docs/aws2-kms-component.adoc | 13 +++++++++++++ docs/components/modules/ROOT/pages/aws2-kms-component.adoc | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kms-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kms-component.adoc index f99b7ff..fd208de 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kms-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kms-component.adoc @@ -124,6 +124,19 @@ the https://aws.amazon.com/kms/[Amazon KMS] 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. + +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 evaluated by the KMS producer [width="100%",cols="10%,10%,80%",options="header",] diff --git a/docs/components/modules/ROOT/pages/aws2-kms-component.adoc b/docs/components/modules/ROOT/pages/aws2-kms-component.adoc index 0e14343..5907113 100644 --- a/docs/components/modules/ROOT/pages/aws2-kms-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-kms-component.adoc @@ -126,6 +126,19 @@ the https://aws.amazon.com/kms/[Amazon KMS] 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. + +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 evaluated by the KMS producer [width="100%",cols="10%,10%,80%",options="header",]