-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Is your feature request related to a problem? Please describe.
We are being asked to change our credential type in spring cloud stream binder service bus/eventhubs from default azure credential to a com.azure.core.credential.TokenCredential token credential. Want confirmation if this is possible and if not can it be added since it is supported for spring cloud azure. See documentation links below.
Spring Cloud Azure provides support for token bean credential:
com.azure.core.credential.TokenCredential
https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/configuration-properties-global
However I do not see the same for spring cloud stream.
https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/spring-cloud-stream-support?tabs=SpringCloudAzure5x
Based on its omission from the documentation I am assuming it is not supported. I can create the token but the binder ignores it and just defaults to trying to use Default Azure Credential.
Describe the solution you'd like
Spring Cloud Stream Support for: com.azure.core.credential.TokenCredential
Describe alternatives you've considered
Currently we use Default Azure Credential, I have raised a support ticket with Microsoft, and the support engineer asked me to raise a feature request here.
Additional context
Microsoft Support Ticket: 2511050040006790
Microsoft Support Engineer: Abhisek Mohanty
Metadata
Metadata
Assignees
Labels
Type
Projects
Status