Skip to content

Support Azure Workload Identity authentication for Azure DevOps Git repositories #8146

Backlog

Description

@dewolfs

Pre-submission checklist

  • I have searched existing issues and confirmed this is not a duplicate.
  • I understand that submitting a feature request does not guarantee it will be implemented.

Proposed Feature

Support authentication to Azure DevOps Git repositories using Azure Workload Identity (Microsoft Entra ID).

Similar to the workload identity authentication capabilities discussed in Argo CD (#13334 and #22122), Kargo should be able to authenticate to Azure DevOps Git repositories using the federated identity assigned to its Kubernetes ServiceAccount.

Ideally, Kargo would:

Support using Azure Workload Identity to authenticate to Azure DevOps Git repositories.

Exchange the projected Kubernetes ServiceAccount token for an Azure Entra ID access token through workload identity federation.

Use the resulting access token for Git operations against Azure DevOps.

Avoid requiring Personal Access Tokens (PATs) or other long-lived credentials stored in Kubernetes Secrets.

Motivation and Use Case

When running Kargo on Azure Kubernetes Service (AKS) and using Azure DevOps as the Git repository provider, authentication currently often relies on Personal Access Tokens (PATs).

Managing PATs introduces additional operational overhead and security concerns, including credential rotation, expiration, secret management, and the risk of credential exposure.

By supporting Azure Workload Identity for Azure DevOps Git repositories, Kargo could use the same federated identity mechanism already available in AKS to authenticate without requiring long-lived credentials.

Concrete use case:

An organization runs Kargo on AKS and uses Azure DevOps Git repositories to manage its promotion processes and deployment configuration.

The organization has already configured Azure Workload Identity federation between its AKS cluster and Microsoft Entra ID. It would like Kargo to use this identity to access Azure DevOps repositories, rather than creating and maintaining a dedicated PAT.

This would provide:

Passwordless authentication without long-lived credentials.

Centralized identity and access management through Microsoft Entra ID.

Simplified credential lifecycle management, eliminating manual PAT rotation.

Better alignment with Azure security best practices.

Kargo already supports Azure Workload Identity for Azure Container Registry (ACR). Extending similar capabilities to Azure DevOps Git repository authentication would provide a more consistent authentication experience across Azure services.

Alternatives Considered

No response

Activity

  1. added
    kind/enhancement
    kind/proposal
    on Nov 24, 2026
  2. added
    needs/area
    needs/priority
    on Nov 24, 2026
  3. krancour commented on Nov 28, 2026

    @krancour
    Member

    This was requested before in #5812, and #6154 implemented it. Both were closed without merging.

    What blocks it: Kargo's Azure credential provider can only authenticate as the controller's own identity. Kargo needs write access to Git repositories, so giving one Project access to an Azure DevOps repository would give it to every Project. This comment explains this in more detail.

    #6912 proposes letting the provider act as a Project-specific identity, and that has to come first. #6913 is a draft implementation of it.

    To set expectations: this is not a high priority for the maintainers. Movement here probably depends on someone volunteering to finish #6913, including testing it end-to-end in a real Azure environment. Until then, PATs are the supported way to authenticate to Azure DevOps.

  4. removed
    kind/proposal
    on Nov 28, 2026
  5. krancour commented on Nov 28, 2026

    @krancour
    Member

    /low

  6. added
    priority/low
    and removed
    needs/priority
    on Nov 28, 2026
  7. kargo-governance-bot commented on Nov 28, 2026

    @kargo-governance-bot

    Low Priority

    A maintainer has determined this issue to be low priority.

    The maintainer team has its own priorities, and those cannot be displaced. We respectfully ask for your understanding. Patience will be required, as it may be some time before a maintainer is able to give this issue further attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementneeds/areapriority/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions