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 f52288f6cff08ed4d293a07bb3e6f651209f09fa Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Jun 1 10:57:54 2021 +0200 Camel-AWS components: Added notes about default credential provider - Athena component --- .../apache/camel/catalog/docs/aws2-athena-component.adoc | 13 +++++++++++++ .../modules/ROOT/pages/aws2-athena-component.adoc | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-athena-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-athena-component.adoc index 33aabc1..3e2a297 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-athena-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-athena-component.adoc @@ -272,6 +272,19 @@ See the section 'Waiting for Query Completion and Retrying Failed Queries' to le |======================================================================= +=== 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] + === Athena Producer operations The Camel-AWS Athena component provides the following operation on the producer side: diff --git a/docs/components/modules/ROOT/pages/aws2-athena-component.adoc b/docs/components/modules/ROOT/pages/aws2-athena-component.adoc index 98e18fb..8526953 100644 --- a/docs/components/modules/ROOT/pages/aws2-athena-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-athena-component.adoc @@ -274,6 +274,19 @@ See the section 'Waiting for Query Completion and Retrying Failed Queries' to le |======================================================================= +=== 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] + === Athena Producer operations The Camel-AWS Athena component provides the following operation on the producer side:
