This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new a391be655db CAMEL-19099 - Camel-Jbang Export: Add a flag to include
secret refresh properties in application.properties - Docs
a391be655db is described below
commit a391be655db7e8f2d7535f8adc00eaa6ae7f52d5
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed May 10 10:57:15 2023 +0200
CAMEL-19099 - Camel-Jbang Export: Add a flag to include secret refresh
properties in application.properties - Docs
Signed-off-by: Andrea Cosentino <[email protected]>
---
docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index dfb105e8ba0..d7d9dc53fbd 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -1743,6 +1743,21 @@ To be able to continue to use Camel CLI (i.e. `camel`),
you need to add `camel:c
camel export --runtime=quarkus --gav=com.foo:acme:1.0-SNAPSHOT
--deps=camel:cli-connector --directory=../myproject
----
+=== Exporting with Camel Secret Refresh parameters and dependencies included
+
+In Camel we have introduce the ability of refreshing secrets automatically
when an update operation happens.
+
+In the camel-jbang cli we introduced the options to prepare the exported
project to be able to use this feature.
+
+[source,bash]
+----
+camel export --secrets-refresh --secrets-refresh-providers=aws,gcp,azure
--runtime=quarkus --gav=com.foo:acme:1.0-SNAPSHOT --directory=../myproject
+----
+
+This command will automatically add the Camel-Quarkus extensions for AWS
Secrets Manager, Google Secret Manager and Azure Key Vault to the exported POM
and also it will add the required options (to be set) in the
application.properties file.
+
+These options will work for Quarkus, Spring-Boot and Camel-main runtime.
+
=== Configuring exporting
The export command will by default load configuration from
`application.properties`