You are developing an open-source solution stored in a GitHub repository and have created a public project in Azure DevOps. You plan to use Azure Pipelines and the GitHub Checks API. Which authentication method should you use?
Choose an answer
Tap an option to check your answer.
Correct answer: GitHub App.
Why this is the answer
A GitHub App is the recommended and most secure authentication method for integrating Azure Pipelines with GitHub, especially when using the GitHub Checks API. It provides fine-grained permissions, allowing you to grant only the necessary access to your repository without exposing personal credentials. This method also scales well for open-source projects and offers better security than a PAT. A PAT (personal access token) can be used but is less secure as it often grants broader permissions than necessary and is tied to a user account. OpenID and SAML are identity federation protocols primarily used for single sign-on (SSO) and user authentication, not for programmatic access to GitHub APIs from a CI/CD system like Azure Pipelines.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed