Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-17 Thread via GitHub
jabhishek01 commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2548511132 @davsclaus it didnt worked for me even i set it to false in properties file. -- This is an automated message from the Apache Git Service. To respond to the message, p

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-17 Thread via GitHub
davsclaus commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2548251186 https://issues.apache.org/jira/browse/CAMEL-21553 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-17 Thread via GitHub
davsclaus commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2548229102 try set `camel.main.autoConfigurationEnabled=false` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use t

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-16 Thread via GitHub
jabhishek01 commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2546204700 @oscerd thanks for info. -- 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 th

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-16 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2545895050 as of today, it doesn't work for bean instantiation, just tested. It will need some work on Camel side, but later next year. -- This is an automated message from the Apache Gi

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-16 Thread via GitHub
jabhishek01 commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2545828481 @oscerd [testvault.zip](https://github.com/user-attachments/files/18152084/testvault.zip) Please refer my project . I have created vault and db on local and tryin

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-16 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2545740670 4.8.0 should already work. Please create a reproducer or something we could use to reproduce your problem -- This is an automated message from the Apache Git Service. To respo

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-16 Thread via GitHub
jabhishek01 commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2545732449 @oscerd Can you please suggest stable version for vault ? Because I am unable to use vault property in datasource. It gives error for vault properties. Also is there any w

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-14 Thread via GitHub
jabhishek01 commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2543309658 @oscerd I am running using 4.8.0 version. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-14 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2543068053 Try with an LTS version, like 4.8.x -- 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

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-13 Thread via GitHub
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

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-13 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2540847489 It should be `{{hashicorp:secret:db#password}}` Where secret is the hashicorp engine, db is the secret name and password is field. -- This is an automated messag

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-12 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2540612881 The syntax for the db password is wrong. Read the documentation Il ven 13 dic 2024, 06:27 jabhishek01 ***@***.***> ha scritto: > @oscerd

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-12 Thread via GitHub
jabhishek01 commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2540582988 @oscerd Thanks for sharing this. This worked for me. But when i configure datasource as bean that time i am getting this issue. - beans: - name: LocalPostgre

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-12 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2539526030 https://camel.apache.org/components/next/hashicorp-vault-component.html#_using_hashicorp_vault_property_function You need the component for the vault of your choice on the

Re: [I] Hashicorp Vault component [camel-karavan]

2024-12-12 Thread via GitHub
jabhishek01 commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2539516924 @oscerd Do you know how to integrate vault for datasource bean in camel route yaml ? I am able to use in route but when i try to use vault property in datasource bean i get

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-16 Thread via GitHub
mgubaidullin closed issue #1348: Hashicorp Vault component URL: https://github.com/apache/camel-karavan/issues/1348 -- 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 unsubscri

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-05 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2331719927 https://issues.apache.org/jira/browse/CAMEL-21179 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the UR

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-05 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2331672536 No, it has nothing to do with engine version. For sure this won't go in 4.8.0, the Camel release will be during the weekend and there is no time. -- This is an automate

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-05 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2331669162 Hmm ok so it is not related the kv version right? I hope you can improve it since in my team we need to use / to separate and organize multiple environments secret

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-05 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2331653501 I found the time to reproduce. Essentially the problem is with the secret path. The Hashicorp properties function is not able to distinguish between the slash for the subkey and

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-03 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2326102025 I'll try with v2 and see, maybe it's because of that. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use th

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-03 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2326096453 @oscerd I am using 4.7.0 I have shared here the vault config as a last resort ![image](https://github.com/user-attachments/assets/ef492202-0d6f-4ff5-9b4

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-03 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2326067428 The solution is working in 4.7.0, there are no further solutions to be find, I cannot access your environment so I cannot really reproduce. -- This is an automated message fr

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-03 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2326038643 well, the call seems to be done, I really have a no idea. The function is working in the local tests and even by testing through Kamelet. I cannot reproduce. -- This is an au

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-03 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2326024471 @oscerd still the same result I cant get its value ![image](https://github.com/user-attachments/assets/696ec070-f572-4d64-8099-64d1c241187c) -- This is an au

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-03 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2325886983 It should be something like {{hashicorp-vault:secret:onlineMidTakseet/test:@1}} -- This is an automated message from the Apache Git Service. To respond to the message, p

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-03 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2325861768 @oscerd well I was not able to simulate the last issue I shared here again but I am back to the first issue I faced which is not being able to get the value of the fields

Re: [I] Hashicorp Vault component [camel-karavan]

2024-09-02 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2325662036 With the debug log level, you should be able to see a bit better what is happening. -- This is an automated message from the Apache Git Service. To respond to the message, ple

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-28 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2316758203 Can you try to enable debug logging level and see what happens? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-28 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2314834515 @oscerd you mean the properties I have configured for vault component ? or the configuration we have for the vault instance itself? and if it is the latter then which pa

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-27 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2311977710 It's impossible to say without knowing the configuration of the vault and how you configured the properties. -- This is an automated message from the Apache Git Service. To re

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-27 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2311914666 @oscerd I got a chance to try this with v1 but I faced the below error ``` org.apache.camel.FailedToCreateRouteException: Failed to create route Inquiry at: >>

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-26 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2309912548 I think we need to revisit this and check compatibility with v1 and v2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-26 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2309880562 @oscerd yes I have it already inside my karavan project I noticed while apache camel was connecting to vault, I found hashicorp-vault component adds the following

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-26 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2309739046 Do you have hashicorp vault component in your classpath? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-23 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2307074868 @oscerd could you give me an example to log a value of a secret ? for instance, I have a secret that is located in that path **main/test/apiKey** I have tri

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-23 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2307029310 There is no engine property in 4.7. it's now part of the syntax in the expression {{hashicorp:engine:secretname}} Il ven 23 ago 2024, 14:44 Samar Elsayed ***@***.***> ha

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-23 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2307017917 @mgubaidullin While trying with Karavan vscode **4.7.0,** I found that `camel.vault.hashicorp.engine `is not recognized and the below error happens although I did

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-11 Thread via GitHub
mgubaidullin commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2282800404 @samar-elsayed you can always find component headers in the property panel ![headers](https://github.com/user-attachments/assets/319622cb-4bd2-492f-b05f-7aa41a90c189

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-11 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2282782767 It is CamelHashicorpVaultSecretPath -- 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

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-11 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2282781839 @oscerd can you share with me if is there a default name for the header that hashicorp component supports and uses to set the secretPath ? -- This is an automated mess

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-11 Thread via GitHub
oscerd commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2282759810 Secret properties function is a thing, the producer methods are a different thing. If you use secret path, you need to set an header. When you set camel.vault.hashicorp.* proper

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-10 Thread via GitHub
samar-elsayed commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2282358761 Shouldn't these properties be set from the UI itself ? I have set them except for secretPath but I faced that error: `java.lang.IllegalArgumentException: Secret P

Re: [I] Hashicorp Vault component [camel-karavan]

2024-08-08 Thread via GitHub
mgubaidullin commented on issue #1348: URL: https://github.com/apache/camel-karavan/issues/1348#issuecomment-2275643590 I think you need to configure Hashicorp Vault Property Function https://camel.apache.org/components/4.4.x/hashicorp-vault-component.html#_using_hashicorp_vault_property

[I] Hashicorp Vault component [camel-karavan]

2024-08-05 Thread via GitHub
samar-elsayed opened a new issue, #1348: URL: https://github.com/apache/camel-karavan/issues/1348 ### Describe the bug I have tried to add a vault component as shown below : ![image](https://github.com/user-attachments/assets/7c1eae8a-3c57-47f5-badc-f432648069ec) but onc