This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch CAMEL-21360-azure in repository https://gitbox.apache.org/repos/asf/camel.git
commit fab7cb3145fdcdaddce1222f058847e8a0146dc9 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Oct 17 15:23:36 2024 +0200 CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Azure Key Vault 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 +----