Skip to content

feat: Workload Identity Authentication against Azure DevOps GIT#6154

Open
mikebordon wants to merge 4 commits intoakuity:mainfrom
mikebordon:mikebordon/ado-workload-identity
Open

feat: Workload Identity Authentication against Azure DevOps GIT#6154
mikebordon wants to merge 4 commits intoakuity:mainfrom
mikebordon:mikebordon/ado-workload-identity

Conversation

@mikebordon
Copy link
Copy Markdown

@mikebordon mikebordon commented Apr 23, 2026

Summary

Resolves #5812.

The goal of this change is to extend Azure Workload Identity support for Azure DevOps (git) repositories. This eliminates the dependency on long-lived PATs and managed secrets.

Testing

In addition to unit tests, these changes were validated against a real environment with the following (existing) configuration:

  • Entra tenant
  • Azure DevOps organization
  • K8s cluster with Azure Workload Identity configured
  • Kargo installation with Azure DevOps PAT stored as kargo.akuity.io/cred-type: git secret

The following changes were made to validate:

  • Update the installation to use the development image
  • (Promote freight to verify existing behavior, more specifically the ability to git-clone and git-push)
  • Register a new service principal in Entra with federated credentials for the Kargo controller service account
  • Register the service principal in Azure DevOps with permissions to contribute to repositories
  • Add azure.workload.identity/use: "true" label to Kargo controller pod
  • Add azure.workload.identity/client-id annotation to Kargo controller service account
  • Delete existing PAT secret
  • (Restart deployments)
  • Promote freight to verify previous functional behavior (sans PAT)

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 23, 2026

Deploy Preview for docs-kargo-io ready!

Name Link
🔨 Latest commit ea44398
🔍 Latest deploy log https://app.netlify.com/projects/docs-kargo-io/deploys/69ea90744662cf000812ee4e
😎 Deploy Preview https://deploy-preview-6154.docs.kargo.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mikebordon mikebordon changed the title feat: Add ADO support to workload identity provider feat: Workload Identity Authentication against Azure DevOps GIT Apr 23, 2026
Signed-off-by: Mike Bordon <mikebordon@gmail.com>
@mikebordon mikebordon force-pushed the mikebordon/ado-workload-identity branch from adddc58 to 73ebb64 Compare April 23, 2026 17:27
Signed-off-by: Mike Bordon <mikebordon@gmail.com>
Signed-off-by: Mike Bordon <mikebordon@gmail.com>
Signed-off-by: Mike Bordon <mikebordon@gmail.com>
@mikebordon mikebordon marked this pull request as ready for review April 23, 2026 22:09
@mikebordon mikebordon requested review from a team as code owners April 23, 2026 22:09
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.

Workload Identity Authentication against Azure DevOps GIT

1 participant