You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/10/11 06:05:42 UTC

[PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

davsclaus opened a new pull request, #27679:
URL: https://github.com/apache/camel/pull/27679

   The `hashicorp` properties function is shared by all lookups, but kept the parsed secret engine in a field, so concurrent lookups for different engines could read from the wrong engine, and a lookup without engine used the engine of the previous lookup (or `null`).
   
   - The engine is now local to each lookup; a lookup without engine (`hashicorp:mysecret`, `hashicorp:mysecret#field`, `hashicorp:mysecret@2`) uses the `secret` engine, as the secret refresh task already assumes.
   - A missing secret with a field (`hashicorp:secret:missing#field`) now resolves to no value / the default value instead of failing with a `NullPointerException`, so optional placeholders work.
   - Docs: fixed the `{{hashicorp:route:default@2}}` example (parsed as engine `route`) to `{{hashicorp:secret:route:default@2}}`, and documented the default engine.
   - Upgrade guide entry for 4.23.
   
   Tests: `HashicorpVaultPropertiesFunctionTest` (fake `VaultTemplate`, no Docker) covers engine isolation (sequential and concurrent), the default engine, versions, and missing secret/field with and without default.
   
   Note: overlaps with #27669 (CAMEL-25518) in `HashicorpVaultPropertiesFunction`; a small rebase is expected for whichever merges second.
   
   Fixes [CAMEL-25552](https://issues.apache.org/jira/browse/CAMEL-25552)
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on code in PR #27679:
URL: https://github.com/apache/camel/pull/27679#discussion_r4246186725


##########
docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_23.adoc:
##########
@@ -1021,6 +1021,18 @@ short by that count, so it now fails the record `length` check (unless `ignoreMi
 read with shifted fields. A system that reads these records by counting UTF-16 chars must count code points (or
 graphemes) instead.
 
+=== camel-hashicorp-vault - properties without engine use the `secret` engine

Review Comment:
   `camel-4.23.0` was tagged on 2026-10-11, and its history leaves main at `197e70656a41` (CAMEL-25490), before this PR. So this change ships in 4.24.0, which matches the Jira fixVersion and the PR milestone. In the 4.23 guide, the note would tell users the change is already in 4.23.0.
   
   Could you move this section to `camel-4x-upgrade-guide-4_24.adoc`, under `== Upgrading Camel 4.23 to 4.24`? That file isn't on main yet. #27681 and #27714 both create it, along with the index entry in `camel-4x-upgrade-guide.adoc`. Rebasing on whichever of those merges first saves a third add/add conflict.
   
   Optional, while moving it: `{{hashicorp:mysecret@2}}` changed too. It now reads version 2 of `mysecret` in the `secret` engine. Before, the `@2` stayed part of the secret name.



##########
components/camel-hashicorp-vault/src/main/docs/hashicorp-vault-component.adoc:
##########
@@ -363,6 +363,10 @@ YAML::
 
 Where route will be the name of the secret stored in the HashiCorp Vault instance, in the 'secret' engine.
 
+NOTE: The engine is the part before the first `:`. When the property has no engine, such as `{{hashicorp:route}}`
+or `{{hashicorp:database#username}}`, the secret is read from the 'secret' engine. A default value always needs the
+engine, as in `{{hashicorp:secret:route:default}}`: in `{{hashicorp:route:default}}` the engine would be `route`.

Review Comment:
   With a field, a default value works without an engine. `{{hashicorp:database#username:admin}}` reads `secret/data/database` and falls back to `admin`. I checked this on the PR head with a fake `VaultTemplate`, like the one in `HashicorpVaultPropertiesFunctionTest`. The first sentence doesn't hold for that form either, since the part before its first `:` is `database#username`. A possible wording:
   
   ```suggestion
   NOTE: The engine is the part before the first `:`; for a property with a field, only the part before the `#` counts.
   When the property has no engine, such as `{{hashicorp:route}}` or `{{hashicorp:database#username}}`, the secret is read
   from the 'secret' engine. Without a field, a default value needs the engine, as in `{{hashicorp:secret:route:default}}`:
   in `{{hashicorp:route:default}}` the engine would be `route`. With a field it does not, as in
   `{{hashicorp:database#username:admin}}`.
   ```
   
   The same change is needed in the generated catalog copy (suggestion there too).



##########
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hashicorp-vault-component.adoc:
##########
@@ -363,6 +363,10 @@ YAML::
 
 Where route will be the name of the secret stored in the HashiCorp Vault instance, in the 'secret' engine.
 
+NOTE: The engine is the part before the first `:`. When the property has no engine, such as `{{hashicorp:route}}`
+or `{{hashicorp:database#username}}`, the secret is read from the 'secret' engine. A default value always needs the
+engine, as in `{{hashicorp:secret:route:default}}`: in `{{hashicorp:route:default}}` the engine would be `route`.

Review Comment:
   Same wording for the generated catalog copy, so the two files stay identical:
   
   ```suggestion
   NOTE: The engine is the part before the first `:`; for a property with a field, only the part before the `#` counts.
   When the property has no engine, such as `{{hashicorp:route}}` or `{{hashicorp:database#username}}`, the secret is read
   from the 'secret' engine. Without a field, a default value needs the engine, as in `{{hashicorp:secret:route:default}}`:
   in `{{hashicorp:route:default}}` the engine would be `route`. With a field it does not, as in
   `{{hashicorp:database#username:admin}}`.
   ```



##########
components/camel-hashicorp-vault/src/main/java/org/apache/camel/component/hashicorp/vault/HashicorpVaultPropertiesFunction.java:
##########
@@ -62,7 +62,8 @@
  * This implementation is to return the secret value associated with a key. The properties related to this kind of
  * Properties Function are all prefixed with <tt>hashicorp:</tt>. For example asking for
  * <tt>hashicorp:engine:token</tt>, will return the secret value associated to the secret named token on Hashicorp Vault
- * instance on the engine 'engine'.
+ * instance on the engine 'engine'. When no engine is given, such as <tt>hashicorp:token</tt>, the 'secret' engine is
+ * used.
  *
  * Another way of retrieving a secret value is using the following notation <tt>hashicorp:engine:database/username</tt>:

Review Comment:
   Minor, since this javadoc is being updated anyway: this paragraph still shows the field with `/` (`hashicorp:engine:database/username`, and `hashicorp:engine:database/username:admin` a few lines down). The separator has been `#` since CAMEL-21179, so `hashicorp:engine:database/username` now reads the secret at path `database/username`. Changing them to `hashicorp:engine:database#username` and `hashicorp:engine:database#username:admin` would match `apply()` and the docs.



-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #27679:
URL: https://github.com/apache/camel/pull/27679


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27679:
URL: https://github.com/apache/camel/pull/27679#issuecomment-6106308251

   <!-- ci-tested-modules -->
   :test_tube: **CI tested the following changed modules:**
   
   - `catalog/camel-catalog`
   - `components/camel-hashicorp-vault`
   - `docs`
   
   ---
   
   <details><summary>:microscope: Scalpel shadow comparison — Scalpel: 9 of 704 tested, 25 compile-only — current: 9 all tested</summary>
   
   [Maveniverse Scalpel](https://github.com/maveniverse/scalpel) detected **9 affected modules** (current approach: 9).
   
   **Skip-tests mode would test 9 modules** (3 direct + 8 downstream), **skip tests for 25** (generated code, meta-modules)
   
   <details><summary>Modules Scalpel would test (9)</summary>
   
   - `camel-hashicorp-vault` ← components/camel-hashicorp-vault/src/main/docs/hashicorp-vault-component.adoc, components/camel-hashicorp-vault/src/main/java/org/apache/camel/component/hashicorp/vault/HashicorpVaultPropertiesFunction.java, components/camel-hashicorp-vault/src/test/java/org/apache/camel/component/hashicorp/vault/HashicorpVaultPropertiesFunctionTest.java
   - `camel-jbang-mcp` ← downstream of org.apache.camel:camel-catalog
   - `camel-jbang-plugin-mcp` ← downstream of org.apache.camel:camel-jbang-core
   - `camel-jbang-plugin-route-parser` ← downstream of org.apache.camel:camel-route-parser
   - `camel-jbang-plugin-tui` ← downstream of org.apache.camel:camel-catalog
   - `camel-jbang-plugin-validate` ← downstream of org.apache.camel:camel-yaml-dsl-validator
   - `camel-launcher-container` ← downstream of org.apache.camel:camel-launcher
   - `camel-yaml-dsl-validator` ← downstream of org.apache.camel:camel-catalog
   - `camel-yaml-dsl-validator-maven-plugin` ← downstream of org.apache.camel:camel-yaml-dsl-validator
   
   </details>
   
   <details><summary>Modules with tests skipped (25)</summary>
   
   - `apache-camel`
   - `camel-allcomponents`
   - `camel-catalog-console`
   - `camel-catalog-maven`
   - `camel-catalog-suggest`
   - `camel-componentdsl`
   - `camel-endpointdsl`
   - `camel-endpointdsl-support`
   - `camel-itest`
   - `camel-jbang-core`
   - `camel-jbang-it`
   - `camel-jbang-main`
   - `camel-jbang-plugin-edit`
   - `camel-jbang-plugin-generate`
   - `camel-jbang-plugin-kubernetes`
   - `camel-jbang-plugin-test`
   - `camel-kamelet-main`
   - `camel-launcher`
   - `camel-report-maven-plugin`
   - `camel-route-parser`
   - `camel-yaml-dsl`
   - `camel-yaml-dsl-deserializers`
   - `camel-yaml-dsl-maven-plugin`
   - `coverage`
   - `dummy-component`
   
   </details>
   
   > :information_source: Shadow mode — Scalpel observes but does not affect test execution. [Learn more](https://github.com/maveniverse/scalpel)
   
   </details>
   
   <details><summary>All tested modules (36 modules, 5m 23s total)</summary>
   
   **Total reactor time:** 5m 23s
   
   | Module | Duration | Status |
   | --- | --- | --- |
   | Camel :: Launcher | 48.3s | SUCCESS |
   | Camel :: JBang :: MCP | 40.4s | SUCCESS |
   | Camel :: Component DSL | 24.1s | SUCCESS |
   | Camel :: Catalog :: Camel Catalog | 23.1s | SUCCESS |
   | Camel :: HashiCorp :: Key Vault | 20.1s | SUCCESS |
   | Camel :: YAML DSL :: Validator | 19.4s | SUCCESS |
   | Camel :: YAML DSL | 18.9s | SUCCESS |
   | Camel :: JBang :: Plugin :: Kubernetes | 17.2s | SUCCESS |
   | Camel :: JBang :: Plugin :: Validate | 16.6s | SUCCESS |
   | Camel :: Docs | 15.8s | SUCCESS |
   | Camel :: JBang :: Plugin :: Testing | 13.0s | SUCCESS |
   | Camel :: Kamelet Main | 11.0s | SUCCESS |
   | Camel :: YAML DSL :: Deserializers | 9.1s | SUCCESS |
   | Camel :: Catalog :: Camel Route Parser | 8.5s | SUCCESS |
   | Camel :: Catalog :: Camel Report Maven Plugin | 6.6s | SUCCESS |
   | Camel :: All Components Sync point | 5.3s | SUCCESS |
   | Camel :: YAML DSL :: Maven Plugins | 3.8s | SUCCESS |
   | Camel :: YAML DSL :: Validator Maven Plugin | 3.8s | SUCCESS |
   | Camel :: Catalog :: Maven | 3.0s | SUCCESS |
   | Camel :: Catalog :: Suggest (deprecated) | 2.5s | SUCCESS |
   | Camel :: JBang :: Plugin :: MCP | 1.7s | SUCCESS |
   | Camel :: Assembly | 1.4s | SUCCESS |
   | Camel :: JBang :: Plugin :: Edit | 1.4s | SUCCESS |
   | Camel :: Coverage | 1.3s | SUCCESS |
   | Camel :: JBang :: Integration tests | 1.2s | SUCCESS |
   | Camel :: Catalog :: Console | 1.2s | SUCCESS |
   | Camel :: Catalog :: Dummy Component | 1.1s | SUCCESS |
   | Camel :: JBang :: Plugin :: Generate | 1.0s | SUCCESS |
   | Camel :: Endpoint DSL :: Support | 0.8s | SUCCESS |
   | Camel :: JBang :: Main | 0.8s | SUCCESS |
   | Camel :: Launcher :: Container | 0.7s | SUCCESS |
   | Camel :: JBang :: Plugin :: Route Parser | 0.6s | SUCCESS |
   | Camel :: Endpoint DSL | n/a |  |
   | Camel :: Integration Tests | n/a |  |
   | Camel :: JBang :: Core | n/a |  |
   | Camel :: JBang :: Plugin :: TUI | n/a |  |
   
   **Top 20 slowest modules:**
   - `Camel :: Launcher` (48.3s)
   - `Camel :: JBang :: MCP` (40.4s)
   - `Camel :: Component DSL` (24.1s)
   - `Camel :: Catalog :: Camel Catalog` (23.1s)
   - `Camel :: HashiCorp :: Key Vault` (20.1s)
   - `Camel :: YAML DSL :: Validator` (19.4s)
   - `Camel :: YAML DSL` (18.9s)
   - `Camel :: JBang :: Plugin :: Kubernetes` (17.2s)
   - `Camel :: JBang :: Plugin :: Validate` (16.6s)
   - `Camel :: Docs` (15.8s)
   - `Camel :: JBang :: Plugin :: Testing` (13.0s)
   - `Camel :: Kamelet Main` (11.0s)
   - `Camel :: YAML DSL :: Deserializers` (9.1s)
   - `Camel :: Catalog :: Camel Route Parser` (8.5s)
   - `Camel :: Catalog :: Camel Report Maven Plugin` (6.6s)
   - `Camel :: All Components Sync point` (5.3s)
   - `Camel :: YAML DSL :: Maven Plugins` (3.8s)
   - `Camel :: YAML DSL :: Validator Maven Plugin` (3.8s)
   - `Camel :: Catalog :: Maven` (3.0s)
   - `Camel :: Catalog :: Suggest (deprecated)` (2.5s)
   
   </details>
   
   ---
   :gear: [View full build and test results](https://github.com/apache/camel/actions/runs/38116934951)


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #27679:
URL: https://github.com/apache/camel/pull/27679#discussion_r4246225328


##########
components/camel-hashicorp-vault/src/main/docs/hashicorp-vault-component.adoc:
##########
@@ -363,6 +363,10 @@ YAML::
 
 Where route will be the name of the secret stored in the HashiCorp Vault instance, in the 'secret' engine.
 
+NOTE: The engine is the part before the first `:`. When the property has no engine, such as `{{hashicorp:route}}`
+or `{{hashicorp:database#username}}`, the secret is read from the 'secret' engine. A default value always needs the
+engine, as in `{{hashicorp:secret:route:default}}`: in `{{hashicorp:route:default}}` the engine would be `route`.

Review Comment:
   Right, thanks: for `database#username:admin` only the part before `#` is checked for the engine, so it reads `secret/data/database` and falls back to `admin`. Applied your wording in 945a6c1889be.
   
   _Claude Code on behalf of Claus Ibsen_



##########
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/hashicorp-vault-component.adoc:
##########
@@ -363,6 +363,10 @@ YAML::
 
 Where route will be the name of the secret stored in the HashiCorp Vault instance, in the 'secret' engine.
 
+NOTE: The engine is the part before the first `:`. When the property has no engine, such as `{{hashicorp:route}}`
+or `{{hashicorp:database#username}}`, the secret is read from the 'secret' engine. A default value always needs the
+engine, as in `{{hashicorp:secret:route:default}}`: in `{{hashicorp:route:default}}` the engine would be `route`.

Review Comment:
   Applied in 945a6c1889be; the catalog copy is identical to the component doc again.
   
   _Claude Code on behalf of Claus Ibsen_



##########
components/camel-hashicorp-vault/src/main/java/org/apache/camel/component/hashicorp/vault/HashicorpVaultPropertiesFunction.java:
##########
@@ -62,7 +62,8 @@
  * This implementation is to return the secret value associated with a key. The properties related to this kind of
  * Properties Function are all prefixed with <tt>hashicorp:</tt>. For example asking for
  * <tt>hashicorp:engine:token</tt>, will return the secret value associated to the secret named token on Hashicorp Vault
- * instance on the engine 'engine'.
+ * instance on the engine 'engine'. When no engine is given, such as <tt>hashicorp:token</tt>, the 'secret' engine is
+ * used.
  *
  * Another way of retrieving a secret value is using the following notation <tt>hashicorp:engine:database/username</tt>:

Review Comment:
   Good catch, fixed in 945a6c1889be: both javadoc examples now use `#` for the field (`hashicorp:engine:database#username` and `...#username:admin`).
   
   _Claude Code on behalf of Claus Ibsen_



##########
docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_23.adoc:
##########
@@ -1021,6 +1021,18 @@ short by that count, so it now fails the record `length` check (unless `ignoreMi
 read with shifted fields. A system that reads these records by counting UTF-16 chars must count code points (or
 graphemes) instead.
 
+=== camel-hashicorp-vault - properties without engine use the `secret` engine

Review Comment:
   Thanks, moved in 945a6c1889be to a new `camel-4x-upgrade-guide-4_24.adoc` under `== Upgrading Camel 4.23 to 4.24`, with the index entry. Also added the `{{hashicorp:mysecret@2}}` change (now version 2 of `mysecret` in the `secret` engine; before, `@2` stayed part of the name). #27681 creates the same file, so whichever is merged second keeps the header once and both sections.
   
   _Claude Code on behalf of Claus Ibsen_



-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #27679:
URL: https://github.com/apache/camel/pull/27679#discussion_r4240667208


##########
components/camel-hashicorp-vault/src/main/java/org/apache/camel/component/hashicorp/vault/HashicorpVaultPropertiesFunction.java:
##########
@@ -247,11 +257,14 @@ private String getSecretFromSource(String key, String subkey, String defaultValu
                 }
             }
             if (ObjectHelper.isNotEmpty(subkey)) {
-                Object field = ((Map) rawSecret.getData().get("data")).get(subkey);
-                if (ObjectHelper.isNotEmpty(field)) {
-                    returnValue = field.toString();
-                } else {
-                    returnValue = null;
+                returnValue = null;
+                // the secret may not exist, then there is no field either
+                if (rawSecret != null && rawSecret.getData() != null
+                        && rawSecret.getData().get("data") instanceof Map<?, ?> data) {
+                    Object field = data.get(subkey);
+                    if (ObjectHelper.isNotEmpty(field)) {
+                        returnValue = field.toString();
+                    }
                 }
             }
             if (ObjectHelper.isEmpty(returnValue)) {

Review Comment:
   Thanks, good catch: applied in e9c57b372727 rather than in a follow-up. Both paths now read the secret data once, null-safe (`rawSecret` → `getData()` → `get("data")`), so a response without data resolves to no value (or the default value) also without a field, and `captureVersion` takes the response data map, so it cannot NPE on it either.
   
   New test `responseWithoutDataReturnsNullOrDefaultValue` covers a response without data and a response with only metadata, with and without field/default value; it fails with the `NullPointerException` on the previous commit.
   
   _Claude Code on behalf of davsclaus_



-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "gnodet (via GitHub)" <gi...@apache.org>.
gnodet commented on code in PR #27679:
URL: https://github.com/apache/camel/pull/27679#discussion_r4240655688


##########
components/camel-hashicorp-vault/src/main/java/org/apache/camel/component/hashicorp/vault/HashicorpVaultPropertiesFunction.java:
##########
@@ -247,11 +257,14 @@ private String getSecretFromSource(String key, String subkey, String defaultValu
                 }
             }
             if (ObjectHelper.isNotEmpty(subkey)) {
-                Object field = ((Map) rawSecret.getData().get("data")).get(subkey);
-                if (ObjectHelper.isNotEmpty(field)) {
-                    returnValue = field.toString();
-                } else {
-                    returnValue = null;
+                returnValue = null;
+                // the secret may not exist, then there is no field either
+                if (rawSecret != null && rawSecret.getData() != null
+                        && rawSecret.getData().get("data") instanceof Map<?, ?> data) {
+                    Object field = data.get(subkey);
+                    if (ObjectHelper.isNotEmpty(field)) {
+                        returnValue = field.toString();
+                    }
                 }
             }
             if (ObjectHelper.isEmpty(returnValue)) {

Review Comment:
   💡 **Minor: inconsistent null-safety between subkey and non-subkey paths.** The subkey path (this block) now correctly guards against `null` from `rawSecret`, `getData()`, and `getData().get("data")`. A few lines above, the non-subkey path still calls `rawSecret.getData().get("data").toString()` without those guards — pre-existing, but inconsistent now that this block is hardened. Worth addressing in a follow-up for completeness.



-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #27679:
URL: https://github.com/apache/camel/pull/27679#issuecomment-6106092296

   :star2: Thank you for your contribution to the Apache Camel project! :star2:
     :robot: CI automation will test this PR automatically.
   
     :camel: Apache Camel Committers, please review the following items:
   
     * First-time contributors **require MANUAL approval** for the GitHub Actions to run
     * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
     * You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
     * Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
     
     :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
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-unsubscribe@camel.apache.org

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


Re: [PR] CAMEL-25552: camel-hashicorp-vault - the properties function no longer shares the secret engine between lookups [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #27679:
URL: https://github.com/apache/camel/pull/27679#issuecomment-6120979519

   Thanks for the review @oscerd. On the backport question: we keep this on main only. It's a bug we found ourselves, not one a user reported. It only bites with concurrent lookups across different engines, or with engine-less lookups, which never worked (`{{hashicorp:mysecret#field}}` always resolved to no value). And as you note, it would be a manual port without CAMEL-25518, not a cherry-pick. We can revisit if a user hits it on 4.22.x or 4.18.x.
   
   _Claude Code on behalf of Claus Ibsen_


-- 
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-unsubscribe@camel.apache.org

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