Adding Private Repository in Azure DevTest Labs

randy-knight 0 Reputation points
2023-02-09T21:42:13.07+00:00

When setting up a private repository in Azure DevTest Labs, the documentation has you use a personal access token. Is this on a per user basis or will all users access the repository using the same PAT. Also, some updated docs on Github's new PAT model (fine-grained, etc.) would be good.

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
277 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 20,207 Reputation points Microsoft Employee
    2023-02-22T01:04:33.8666667+00:00

    Hello randy-knight , Thanks for posting your query on Microsoft Q&A.
    Q1:When setting up a private repository in Azure DevTest Labs, the documentation has you use a personal access token. Is this on a per user basis or will all users access the repository using the same PAT?
    The personal access token (PAT) is used to authenticate the user who is adding the private repository to the lab. Once the repository is added, all users with access to the lab will be able to access the repository in Azure DevTest labs. Let me know if you are seeing anything different.
    https://video2.skills-academy.com/en-us/azure/devtest-labs/devtest-lab-guidance-get-started#use-artifacts-for-vm-customization

    Q2: Updated info on GitHub's new PAT model
    Currently, Microsoft Q&A doesn't support GitHub as a topic.
    This blog on GitHub PAT fine-grained model might be helpful :
    https://github.blog/2022-10-18-introducing-fine-grained-personal-access-tokens-for-github/
    However, GitHub Community would be the best place to get the support/help from GitHub experts.

    Please let me know in the 'comments', if you have any follow up questions/concerns.
    'Accept Answer' if it helped, so that it can help others in the community.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.