You have an existing project in Azure DevOps.
You plan to integrate GitHub as the repository for the project.
You need to ensure that Azure Pipelines runs under the Azure Pipelines identity.
Which authentication mechanism should you use?
You have an existing project in Azure DevOps.
You plan to integrate GitHub as the repository for the project.
You need to ensure that Azure Pipelines runs under the Azure Pipelines identity.
Which authentication mechanism should you use?
To ensure that Azure Pipelines runs under the Azure Pipelines identity when integrating GitHub as the repository, the GitHub App authentication mechanism should be used. The GitHub App allows Azure Pipelines to perform builds and status updates using its own identity rather than a personal identity, providing a clear separation between personal and automated actions and enhancing security and management of access rights within the project's CI/CD processes.
B correct answer. Initially I' m confused little but to ensure that Pipelines run using The Azure Pipelines identity clearly show the given answer is right https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml
Seems correct as per the reference article.
Authentication type Pipelines run using Works with GitHub Checks 1. GitHub App The Azure Pipelines identity Yes 2. OAuth Your personal GitHub identity No 3. Personal access token (PAT) Your personal GitHub identity
Got this in the Az-400 exam(Sep 27 2021)
I had a similar question to this one on my exam on September 12, 2023, but it asked something along the lines of which authentication method to use if the pipelines needs access to external services. The Github App option wasn't there (Now that I think about it, I think the question didn't mention Github at all, but I'm not sure) and I choosed the PAT token. Passed with 877.
Got this question in Feb-2022 exam (scored 910+). Given answer is correct. Github APP.
B. GitHub App The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines. After you install the GitHub App in your GitHub account or organization, your pipeline will run without using your personal GitHub identity. Builds and GitHub status updates will be performed using the Azure Pipelines identity. This allows for a clear separation between personal and automated actions, providing better security and management of access rights within your project’s CI/CD processes.
B. GitHub App: Allows Azure Pipelines run with its own identity and access permissions when interacting with the GitHub repository. Personal Access Token (PAT), Azure Pipelines will have access to GitHub using the the permissions associated with the PAT. Azure AD, it isn't the preferred authentication mechanism for integrating GitHub repositories with Azure Pipelines. OAuth, Used to authenticate users and services with GitHub, Not ensure using the Azure Pipelines identity.
B is the answer. https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#github-app-authentication The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines.
B is correct answer.
A is corect Authentication type Pipelines run using Works with GitHub Checks 1. GitHub App The Azure Pipelines identity Yes 2. OAuth Your personal GitHub identity No 3. Personal access token (PAT) Your personal GitHub identity No https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml
sorry i meant B. Github App
B is correct.
The links have the info but its a long article. Look for the "Access to GitHub repositories" it has a table with details
Authentication type Pipelines run using Works with GitHub Checks 1. GitHub App The Azure Pipelines identity Yes 2. OAuth Your personal GitHub identity No 3. Personal access token (PAT) Your personal GitHub identity No
The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines. After you install the GitHub App in your GitHub account or organization, your pipeline will run without using your personal GitHub identity. Builds and GitHub status updates will be performed using the Azure Pipelines identity. The app works with GitHub Checks to display build, test, and code coverage results in GitHub. https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#github-app-authentication
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml "The Azure Pipelines GitHub App is the recommended authentication type for continuous integration pipelines." Answer is B
On exam 20220727.
GitHub App
correct answer https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml