You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/02/15 13:46:23 UTC
[camel-examples] branch main updated (d1c9d07 -> 24e438d)
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git.
from d1c9d07 CAMEL-17644 - Reflect changes in secret manager example
new 5323198 CAMEL-17644 - Reflect changes in secret manager example
new 24e438d CAMEL-17644 - Reflect changes in secret manager example
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
examples/aws/aws-secrets-manager/README.adoc | 11 +++++++++--
.../src/main/resources/application.properties | 5 -----
2 files changed, 9 insertions(+), 7 deletions(-)
[camel-examples] 01/02: CAMEL-17644 - Reflect changes in secret manager example
Posted by ac...@apache.org.
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-examples.git
commit 532319886235dd2596a1305c95c498bf6b746497
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 15 14:43:39 2022 +0100
CAMEL-17644 - Reflect changes in secret manager example
---
.../aws-secrets-manager/src/main/resources/application.properties | 5 -----
1 file changed, 5 deletions(-)
diff --git a/examples/aws/aws-secrets-manager/src/main/resources/application.properties b/examples/aws/aws-secrets-manager/src/main/resources/application.properties
index df43c2c..3c237df 100644
--- a/examples/aws/aws-secrets-manager/src/main/resources/application.properties
+++ b/examples/aws/aws-secrets-manager/src/main/resources/application.properties
@@ -23,11 +23,6 @@ camel.main.jmx-enabled = false
# extended runtime statistics about bean introspection usage (java reflection)
camel.main.bean-introspection-logging-level=INFO
-# Camel AWS Secrets Manager
-camel.component.aws-secrets-manager.accessKey=xxxx
-camel.component.aws-secrets-manager.secretKey=yyyy
-camel.component.aws-secrets-manager.region=eu-west-1
-
# Generic properties
stock = AMZN
stockName = Amazon
[camel-examples] 02/02: CAMEL-17644 - Reflect changes in secret manager example
Posted by ac...@apache.org.
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-examples.git
commit 24e438d5ead2708d7474c98b83e5761701f0575f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 15 14:46:10 2022 +0100
CAMEL-17644 - Reflect changes in secret manager example
---
examples/aws/aws-secrets-manager/README.adoc | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/examples/aws/aws-secrets-manager/README.adoc b/examples/aws/aws-secrets-manager/README.adoc
index 792241e..3c75c99 100644
--- a/examples/aws/aws-secrets-manager/README.adoc
+++ b/examples/aws/aws-secrets-manager/README.adoc
@@ -10,9 +10,16 @@ Also notice how you can configure Camel in the `application.properties` file.
Login into your AWS Account and create a secret called "finnhub_token" with the Finnhub.io token value, you retrieved from finnhub_token.
-- Setting up the AWS credentials
+- Setting up the AWS credentials as enviroment variables
-Open the `application.properties` file and set the correct values for accessKey, secretKey and region
+[source,sh]
+----
+export AWS_REGION=<region>
+export AWS_SECRET_KEY=<secretKey>
+export AWS_ACCESS_KEY=<accessKey>
+----
+
+Now you're ready to run the example.
=== Build