This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.20.x by this push:
new f3c81ba770d CAMEL-19099 - Camel-Jbang Export: Add a flag to include
secret refresh properties in application.properties - Docs
f3c81ba770d is described below
commit f3c81ba770d23d5a35a4e127243fb9d06568c632
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 24644ab90cc..4cc61aed2db 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -1614,6 +1614,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`