jabhishek01 commented on issue #1348:
URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2542029890

   @oscerd  Thanks for info but while using this in my datasource bean i get 
following error. I suspect camel-karavan tried to configure datasource bean but 
by that time vault was not initialized. Am i missing anything ? I have added 
following porperties in my project application.properties in karavan ui. I am 
using camel-karavan-4.6.0.
   
   camel.vault.hashicorp.enabled=true
   camel.vault.hashicorp.host=vault
   camel.vault.hashicorp.port=8200
   camel.vault.hashicorp.scheme=http
   camel.vault.hashicorp.token=testtoken
   camel.vault.hashicorp.engine=secret
   camel.vault.hashicorp.kv-version=1
   
   
   Caused by: org.apache.camel.RuntimeCamelException: Using the Hashicorp 
Properties Function requires setting Token, Host, port and scheme properties
        at 
org.apache.camel.component.hashicorp.vault.HashicorpVaultPropertiesFunction.doStart(HashicorpVaultPropertiesFunction.java:112)
        at 
org.apache.camel.support.service.BaseService.start(BaseService.java:123)
        at 
org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:126)
        at 
org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
        at 
org.apache.camel.component.properties.DefaultPropertiesFunctionResolver.resolve(DefaultPropertiesFunctionResolver.java:107)
 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to