-
Book Overview & Buying
-
Table Of Contents
Azure for Developers - Third Edition
By :
To integrate GitHub Actions with Microsoft Azure, you will need to decide which integration method suits you the most. Before we check the possible methods, let’s understand how the integration actually works. In the previous section, we discussed how we can use both managed and self-hosted agents. Depending on the type of agent, we can use different authentication methods when connecting to Azure. The easiest method would be to use your personal credentials and allow an agent to log in. Even if it sounds like a quick and easy method, do not attempt to implement it. Not only may such a solution fail in various environments (as authenticating to Microsoft Entra ID may require MFA or be secured with conditional access) but it may also expose your credentials to other people. Instead, you should create a dedicated account for a GitHub runner that can be used in different workflows and has access scoped to only the required resources...