https://pulumi.com logo
#azure
Title
# azure
f

future-kite-91191

10/15/2021, 10:00 AM
When running a Pulumi program in Azure Devops against an AKS cluster, we see
To sign in, use a web browser to open the page <https://microsoft.com/devicelogin> and enter the code CG*****QW to authenticate.
How can I ensure the pipeline can run without interactive logins? Background: • The AKS cluster has "local k8s account" feature disabled, only AAD accounts can authenticate • The Azure Devops pipeline Service Principal is member of the AAD Group that has admin rights/roles assigned to it for the AKS cluster
w

witty-candle-66007

10/15/2021, 2:31 PM
If using the Pulumi task extension, you can use a Service Connection. See: https://www.pulumi.com/docs/guides/continuous-delivery/azure-devops/#environment-variables Or set up requisite service principal and env variables. See: https://www.pulumi.com/docs/intro/cloud-providers/azure/setup/#service-principal-authentication
3 Views