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 623e6d1c909 CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Azure Key Vault (#15997) 623e6d1c909 is described below commit 623e6d1c909d28adc4221178305fa7b0ab1bfa98 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Oct 17 15:24:15 2024 +0200 CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Azure Key Vault (#15997) Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../src/main/docs/azure-key-vault-component.adoc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/components/camel-azure/camel-azure-key-vault/src/main/docs/azure-key-vault-component.adoc b/components/camel-azure/camel-azure-key-vault/src/main/docs/azure-key-vault-component.adoc index 8f0b2427cd1..8ca4c13034b 100644 --- a/components/camel-azure/camel-azure-key-vault/src/main/docs/azure-key-vault-component.adoc +++ b/components/camel-azure/camel-azure-key-vault/src/main/docs/azure-key-vault-component.adoc @@ -425,3 +425,21 @@ from("direct:purgeDeletedSecret") -------------------------------------------------------------------------------- include::spring-boot:partial$starter.adoc[] + +=== Using Azure Key Vault Property Function in Spring Boot for Early resolving properties + +Azure Key Vault 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.azure-key-vault.early-resolve-properties=true=true +---- + +This will enable the feature so you'll be able to resolved properties, in your application.properties file, like: + +[source,bash] +---- +foo = azure:databaseprod#password +----