Skip to content

Add support for Azure Workload Identity#3327

Open
bartosz-qubex wants to merge 1 commit intoopencost:developfrom
zesty-co:add-support-for-workload-identity
Open

Add support for Azure Workload Identity#3327
bartosz-qubex wants to merge 1 commit intoopencost:developfrom
zesty-co:add-support-for-workload-identity

Conversation

@bartosz-qubex
Copy link
Copy Markdown

What does this PR change?

  • Replace deprecated github.com/Azure/azure-sdk-for-go and github.com/Azure/go-autorest with the github.com/Azure/azure-sdk-for-go/sdk
  • Add support for Workload Identity, Managed Identity, Azure CLI credentials by using azidentity.NewDefaultAzureCredential

Does this PR relate to any other PRs?

No

How will this PR impact users?

  • Users will be able to use Azure Workload Identity instead of the service principal secrets

Does this PR address any GitHub or Zendesk issues?

No

How was this PR tested?

  • Executed tests
  • Run on AKS cluster with WorkloadIdentity configured instead of the Service Principal secret

Does this PR require changes to documentation?

  • This document can be upgraded to provide Managed Identity support

Have you labeled this PR and its corresponding Issue as "next release" if it should be part of the next OpenCost release? If not, why not?

@bartosz-qubex bartosz-qubex force-pushed the add-support-for-workload-identity branch from 1b445c9 to cc722fd Compare August 22, 2025 11:42
- Replace deprecated `github.com/Azure/azure-sdk-for-go` and `github.com/Azure/go-autorest` with the `github.com/Azure/azure-sdk-for-go/sdk`
- Add support for Workload Identity, Managed Identity, Azure CLI credentials by using `azidentity.NewDefaultAzureCredential`

Signed-off-by: Bartosz Janda <bartosz.janda@zesty.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant