Monday, January 16, 2023

How to Create Personal Access Token | Use personal access tokens in Azure DevOps

You can use a personal access token (PAT) as an alternate password to authenticate into Azure DevOps. 

A personal access token(PAT) contains your security credentials for Azure DevOps. A PAT identifies you, your accessible organizations, and scopes of access. As such, they're as critical as passwords, so you should treat them the same way.

Create Personal Access Token

1. Sign into your organization
https://dev.azure.com/{yourorganization}

2. Click on User settings, Select personal access tokens 

3. Click on New Token


4. Enter a name, select custom defined.

For the scope select Agent Pools (read, manage) and make sure all the other boxes are cleared. 

5. Now copy the token and secure in a place where you can refer it. We will use this when configuring build agent in Azure DevOps

No comments:

Post a Comment

How to integrate SonarQube with GitLab CICD Pipeline | SonarQube Integration with GitLab CICD | Automate Code Scan using SonarQube In GitLab CICD

  Please find steps for integrating SonarQube with GitLab CICD Pre-requisites: Make sure SonarQube is up and running Make sure Java Project ...