[ 
https://issues.apache.org/jira/browse/CAMEL-27165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on CAMEL-27165 started by Claus Ibsen.
-------------------------------------------
> camel-mongodb - connectionUriString is not marked secret, so its password 
> shows in the endpoint URI
> ---------------------------------------------------------------------------------------------------
>
>                 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}}. The startup log masks the password, but 
> {{camel get endpoint}} and other places that show the endpoint URI print it 
> in full.
> Mark the option as secret, so it is masked like the other credentials.
> 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)

Reply via email to