davsclaus opened a new pull request, #30337: URL: https://github.com/apache/camel/pull/30337
[CAMEL-27165](https://issues.apache.org/jira/browse/CAMEL-27165): the `connectionUriString` option of the mongodb endpoint is marked `security = "secret"`. The connection string can hold a password: `mongodb://user:password@host/...`, or a `mongodb+srv://` string for MongoDB Atlas. The `username` and `password` options were already secret, while `connectionUriString` was not, so the catalog and the tools that read it did not treat it as a credential. Changed: - `MongoDbEndpoint`: `security = "secret"` on `connectionUriString`. - Regenerated: `mongodb.json`, its copy in `camel-catalog`, and `MongoDbEndpointUriFactory`, which now lists `connectionUriString` among the secret properties. Found while adding a connection string option to the MongoDB Kamelets (apache/camel-kamelets#3200). _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]
