dynamically using a Service Connection in an Azure DevOps pipeline based on the calling repository
I have an Azure DevOps pipeline setup with YAML templates shared across multiple repositories. Specifically, I have: A YAML template file named kv_template.yaml in Repo1 (Project1). This template runs an Azure CLI task that requires a service connection to authenticate…