kartik iyer
kartik iyer

Reputation: 243

How the ARM template will authenticate to deploy resources into target server using CI / CD pipeline?

Will it take the logged-in user account or some other authentication using CI / CD pipeline

Upvotes: 1

Views: 54

Answers (1)

Martin Brandl
Martin Brandl

Reputation: 58931

Juunas is right, you typically create a service principal within Azure AD (instead of a user principal) and grant it contributor right to your subscription / resource group.

In Visual Studio Team Services you can add that principal as a Service Endpoint and when you add a Task within your Release build to deploy the template you can select that:

enter image description here

Upvotes: 1

Related Questions