[
https://issues.apache.org/jira/browse/CAMEL-27165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27165.
---------------------------------
Resolution: Fixed
Merged to main for 4.24.0 with https://github.com/apache/camel/pull/30337
_Claude Code on behalf of davsclaus_
> camel-mongodb - connectionUriString is not marked secret, though it can hold
> a password
> ---------------------------------------------------------------------------------------
>
> Key: CAMEL-27165
> URL: https://issues.apache.org/jira/browse/CAMEL-27165
> Project: Camel
> Issue Type: Bug
> Components: camel-mongodb
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.24.0
>
>
> The {{connectionUriString}} option of the mongodb endpoint can hold a
> password ({{mongodb://user:password@host/...}}, or {{mongodb+srv://...}} for
> MongoDB Atlas), but it is not marked {{security = "secret"}}, unlike
> {{username}} and {{password}}. So the Camel catalog, and the tools that read
> it, do not treat it as a credential.
> Mark the option as secret, as the other credentials of the endpoint are.
> Found while adding a connection string option to the MongoDB Kamelets
> (apache/camel-kamelets#3200).
> _Claude Code on behalf of Claus Ibsen_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)