This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push: new 23c593c Polished 23c593c is described below commit 23c593c1d27dcfa58adf8b82f998127408f78520 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Sep 13 09:31:37 2022 +0200 Polished --- jbang/aws-secrets-manager/README.adoc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/jbang/aws-secrets-manager/README.adoc b/jbang/aws-secrets-manager/README.adoc index 4d965b4..9ded1df 100644 --- a/jbang/aws-secrets-manager/README.adoc +++ b/jbang/aws-secrets-manager/README.adoc @@ -57,6 +57,13 @@ Then you can run this example using: $ camel run --properties=aws-sec-integration.properties timer-aws-secret-reloading.yaml ---- +Or run it even shorter: + +[source,sh] +---- +$ camel run * +---- + Or run with JBang using the longer command line (without installing camel as app in JBang): [source,sh] @@ -64,8 +71,17 @@ Or run with JBang using the longer command line (without installing camel as app $ jbang camel@apache/camel run --properties=aws-sec-integration.properties timer-aws-secret-reloading.yaml ---- + + === Modify the secret +You can list the secrets in use from the AWS security vault: + +[source,sh] +---- +camel get vault +---- + While the integration is running you could modify the secret and the integration will reload automatically [source,sh] @@ -75,6 +91,13 @@ aws secretsmanager put-secret-value --secret-id SecretTest --region eu-west-1 -- Now, get back, to the running Camel application and wait for the reloading. +And the secret should also now be listed as updated form the get vault command: + +[source,sh] +---- +camel get vault +---- + === Developer Web Console You can enable the developer console via `--console` flag as show: