You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (Jira)" <ji...@apache.org> on 2022/09/06 07:26:00 UTC

[jira] [Comment Edited] (CAMEL-18451) camel-azure-eventhubs: Add support for Azure-AD authentication

    [ https://issues.apache.org/jira/browse/CAMEL-18451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17600636#comment-17600636 ] 

Babak Vahdat edited comment on CAMEL-18451 at 9/6/22 7:25 AM:
--------------------------------------------------------------

- {{{}camel-azure-servicebus{}}}: has already got that (explicit) support.

 - {{{}camel-azure-cosmosdb{}}}: has got that (implicitly) through the {{cosmosAsyncClient}} option which would do the job both for the consumer as well as producer.

 - {{{}camel-{}}}{{{}azure-storage-blob{}}}/ {{{}camel-{}}}{{{}azure-storage-datalake{}}}/ {{{}camel-azure-{}}}{{{}storage-queue{}}}: the same as {{{}camel-{}}}{{{}azure-cosmosdb {}}}through their {{serviceClient}} option.

That being said, I could be wrong and this needs to be verified first through the corresponding integration tests which you would need your own azure subscription for. And before integration testing, the corresponding resources need to be configured to be accessible through Azure-AD authentication. Something to be done through the Azure-Portal interface.

For 2) and 3) it would be nice to have this support explicitly (not implicitly) then that required dependency (with the right version) for Azure-AD would be already there for the users:

[https://github.com/apache/camel/blob/camel-3.18.2/components/camel-azure/camel-azure-servicebus/pom.xml#L56-L60]

And all they would need to provide is to bind a single {{TokenCredentail}} into the registry:

[https://camel.apache.org/components/3.18.x/azure-servicebus-component.html#_endpoint_query_option_tokenCredential]


was (Author: bvahdat):
- {{camel-azure-servicebus}}: has already got that (explicit) support.

- {{azure-cosmosdb-component}}: has got that (implicitly) through the {{cosmosAsyncClient}} option which would do the job both for the consumer as well as producer.

- {{azure-storage-blob-component}} / {{azure-storage-datalake-component}} / {{azure-storage-queue-component}}: the same as {{azure-cosmosdb-component}} through their {{serviceClient}} option.

That being said, I could be wrong and this needs to be verified first through the corresponding integration tests which you would need your own azure subscription for. And before integration testing, the corresponding resources need to be configured to be accessible through Azure-AD authentication. Something to be done through the Azure-Portal interface.

For 2) and 3) it would be nice to have this support explicitly (not implicitly) then that required dependency (with the right version) for Azure-AD would be already there for the users:

https://github.com/apache/camel/blob/camel-3.18.2/components/camel-azure/camel-azure-servicebus/pom.xml#L56-L60

And all they would need to provide is to bind a single {{TokenCredentail}} into the registry:

https://camel.apache.org/components/3.18.x/azure-servicebus-component.html#_endpoint_query_option_tokenCredential

> camel-azure-eventhubs: Add support for Azure-AD authentication
> --------------------------------------------------------------
>
>                 Key: CAMEL-18451
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18451
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-azure-eventhubs
>    Affects Versions: 3.18.1
>            Reporter: Babak Vahdat
>            Assignee: Babak Vahdat
>            Priority: Minor
>             Fix For: 3.19.0
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)