You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/10/17 11:14:58 UTC

(camel) branch CAMEL-21360-hcp created (now 52cad9813a6)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch CAMEL-21360-hcp
in repository https://gitbox.apache.org/repos/asf/camel.git


      at 52cad9813a6 CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Hashicorp Vault

This branch includes the following new commits:

     new 52cad9813a6 CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Hashicorp Vault

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel) 01/01: CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Hashicorp Vault

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-21360-hcp
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 52cad9813a675b9c14d70cdbeb2751e524a9c343
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 17 13:14:20 2024 +0200

    CAMEL-21360 - Camel Spring Boot: Vault early resolving properties documentation - Hashicorp Vault
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/docs/hashicorp-vault-component.adoc       | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/components/camel-hashicorp-vault/src/main/docs/hashicorp-vault-component.adoc b/components/camel-hashicorp-vault/src/main/docs/hashicorp-vault-component.adoc
index 4a26193777f..7f7b182d041 100644
--- a/components/camel-hashicorp-vault/src/main/docs/hashicorp-vault-component.adoc
+++ b/components/camel-hashicorp-vault/src/main/docs/hashicorp-vault-component.adoc
@@ -185,3 +185,21 @@ This approach will return the username field of the database secret with version
 The only requirement is adding the camel-hashicorp-vault jar to your Camel application.
 
 include::spring-boot:partial$starter.adoc[]
+
+=== Using Hashicorp Vault Property Function in Spring Boot for Early resolving properties
+
+Hashicorp 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.hashicorp-vault.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 = hashicorp:secret:database/password#string
+----