google / go-cloud

The Go Cloud Development Kit (Go CDK): A library and tools for open cloud development in Go.

Home Page:https://gocloud.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pubsub/azuresb: support workload identity auth method

tsolodov opened this issue · comments

Is your feature request related to a problem? Please describe.

Currently the only supported method is SharedKey (connection string), add AKS workload identity support

Describe the solution you'd like

Implement additional auth methods using Azure golang SDK (creds)

How to use:
depends on method(Workload, kubelet, Service), set ENV variables:
AZURE_SERVICEBUS_HOSTNAME - to trigger new method

For service principal auth, set ENV variables described here

If you use workload/kubelet identities, ENV variables are injected by AKS, some details can be found here

Describe alternatives you've considered

N/A

Additional context

N/A

PTAL? Can someone please approve CI run for my PR ?

Hi @vangent , thank you for merging PR. Do you have any insight when next release will happen?

No, but you can start using it now, you don't need to wait for a release.