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 301e6a27b6f CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Google Secret Manager (#15995) 301e6a27b6f is described below commit 301e6a27b6f628ae05d04095407e5e664110d14b Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Oct 17 15:04:29 2024 +0200 CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Google Secret Manager (#15995) Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../src/main/docs/google-secret-manager-component.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/components/camel-google/camel-google-secret-manager/src/main/docs/google-secret-manager-component.adoc b/components/camel-google/camel-google-secret-manager/src/main/docs/google-secret-manager-component.adoc index a1c01bed3f3..688ef35998d 100644 --- a/components/camel-google/camel-google-secret-manager/src/main/docs/google-secret-manager-component.adoc +++ b/components/camel-google/camel-google-secret-manager/src/main/docs/google-secret-manager-component.adoc @@ -433,3 +433,21 @@ from("direct:start") include::spring-boot:partial$starter.adoc[] + +=== Using Google Secret Manager Property Function in Spring Boot for Early resolving properties + +Google Secret Manager Spring Boot component starter offers the ability to early resolve properties, so the end user could resolve properties directly in the application.properties before both Spring Boot runtime and Camel context will start. + +This could be accomplished in the following way. You should specified this property in your application.properties file: + +[source,bash] +---- +camel.component.google-secret-manager.early-resolve-properties=true +---- + +This will enable the feature so you'll be able to resolved properties, in your application.properties file, like: + +[source,bash] +---- +foo = gcp:databaseprod#password +----