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.git
The following commit(s) were added to refs/heads/main by this push:
new 2cfcc3af6a9 CAMEL-19099 - Camel-Jbang Export: Add a flag to include
secret refresh properties in application.properties - Docs
2cfcc3af6a9 is described below
commit 2cfcc3af6a96ff0f5b192e734dfa1507facd2258
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 9246ca3d7d6..269431df381 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -2014,6 +2014,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`