This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch minor-fixes
in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git

commit 77256cc4a6a9f07432ec5d00099b663d952120b9
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Sep 26 15:11:43 2023 +0200

    AWS-secret-refresh Example - Moving specific properties to 
application.properties
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 jbang/aws-database-admin-secrets-refresh/README.adoc                | 6 +++---
 .../aws-sec-integration.properties                                  | 6 ------
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/jbang/aws-database-admin-secrets-refresh/README.adoc 
b/jbang/aws-database-admin-secrets-refresh/README.adoc
index f96f8e3..75ad6b8 100644
--- a/jbang/aws-database-admin-secrets-refresh/README.adoc
+++ b/jbang/aws-database-admin-secrets-refresh/README.adoc
@@ -71,7 +71,7 @@ Then you can run this example using:
 
 [source,sh]
 ----
-$ camel run --properties=aws-sec-integration.properties sql-query.yaml
+$ camel run sql-query.yaml
 ----
 
 Or run it even shorter:
@@ -85,7 +85,7 @@ Or run with JBang using the longer command line (without 
installing camel as app
 
 [source,sh]
 ----
-$ jbang camel@apache/camel run --properties=aws-sec-integration.properties 
sql-query.yaml
+$ jbang camel@apache/camel run sql-query.yaml
 ----
 
 The application will run and consume immediately, then it will wait 120 
seconds to query the database again.
@@ -201,7 +201,7 @@ You can enable the developer console via `--console` flag 
as show:
 
 [source,sh]
 ----
-$ camel run --properties=aws-sec-integration.properties sql-query.yaml 
--console
+$ camel run sql-query.yaml --console
 ----
 
 Then you can browse: http://localhost:8080/q/dev to introspect the running 
Camel applicaton.
diff --git 
a/jbang/aws-database-admin-secrets-refresh/aws-sec-integration.properties 
b/jbang/aws-database-admin-secrets-refresh/aws-sec-integration.properties
deleted file mode 100644
index 137d0c1..0000000
--- a/jbang/aws-database-admin-secrets-refresh/aws-sec-integration.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-camel.vault.aws.defaultCredentialsProvider=true
-camel.vault.aws.region=eu-west-1
-camel.vault.aws.refreshEnabled=true
-camel.vault.aws.refreshPeriod=1000
-camel.vault.aws.secrets=psql
-camel.main.name = AWSExample

Reply via email to