meshStack currently integrates with Azure DevOps in two ways:
  1. Checking out Git repositories for Building Block Definitions — currently only via SSH keys
  2. Triggering Azure DevOps Pipelines from Building Blocks — currently only via Personal Access Tokens (PATs)
Both approaches share the same fundamental problem: they rely on legacy, user-bound credentials that are painful to manage:
  • Tied to individual Entra ID user accounts
  • Require manual secret/key rotation (often enforced annually by org policy)
  • PATs expire and must be re-issued manually
  • SSH key management is complex and not fully automatable
Requested Feature
Add support for Service Principal authentication with Workload Identity Federation (WIF) as the authentication method for both Azure DevOps integrations in meshStack:
  1. Git repository checkout — authenticate to Azure DevOps Git repos using a Service Principal (via Entra ID / WIF), replacing SSH keys
  2. Pipeline triggers — authenticate to the Azure DevOps REST API to trigger pipelines using a Service Principal (via WIF), replacing PATs
This aligns with Microsoft's own recommendation for Azure DevOps integrations:
And leverages the same Workload Identity Federation mechanism meshStack already supports for Azure platform integrations — enabling a consistent, secretless, keyless authentication story across all Azure DevOps touchpoints.
Benefits
  • No secrets or SSH keys to rotate
  • Service principal-scoped permissions (no user account dependency)
  • Fully automatable — no manual credential management
  • Consistent with modern Azure security best practices