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

   ## Backport of #30204
   
   Cherry-pick of #30204 (CAMEL-27049: camel-main - mask the server and vault 
options flagged secret) onto `camel-4.22.x`, for 4.22.3.
   
   **Original PR:** #30204 - CAMEL-27049: camel-main - mask the server and 
vault options flagged secret
   **Target branch:** `camel-4.22.x`
   **JIRA:** [CAMEL-27049](https://issues.apache.org/jira/browse/CAMEL-27049)
   
   ### Adapted, not a straight cherry-pick
   
   - `SENSITIVE_WHOLE_KEYS` in `SensitiveUtils` and `sensitive-whole-keys.json` 
are regenerated from the camel-main metadata of this branch: the HashiCorp 
vault options `jwt`, `roleId`, `secretId`, `keystorePassword` and 
`truststorePassword` do not exist on `camel-4.22.x`, so these 5 keys are left 
out (`camel.vault.hashicorp.token` stays).
   - `MainSecurityPolicyTest`: only the tests of #30204 are added 
(`testComponentOptionWithTheNameOfASecretVaultOption`, 
`testPlainTextSecretVaultOption` and `MyCloudComponent`), with the imports of 
`Endpoint` and `DefaultComponent`. The tls test next to them on `main` belongs 
to another change.
   - The 4.24 upgrade guide entry is not part of the backport. The 4.22.3 note 
goes into `camel-4x-upgrade-guide-4_22.adoc` on `main`, where the upgrade 
guides of all versions are kept.
   
   ### Tests
   
   camel-util (240), camel-main (236), camel-package-maven-plugin (55) and 
`SecretOptionsAreSensitiveKeysTest` pass locally.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to