Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing CI/CD Using Azure Pipelines

You're reading from   Implementing CI/CD Using Azure Pipelines Manage and automate the secure flexible deployment of applications using real-world use cases

Arrow left icon
Product type Paperback
Published in Dec 2023
Publisher Packt
ISBN-13 9781804612491
Length 326 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Roberto Mardeni Roberto Mardeni
Author Profile Icon Roberto Mardeni
Roberto Mardeni
Piti Champeethong Piti Champeethong
Author Profile Icon Piti Champeethong
Piti Champeethong
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1:Getting Started with Azure Pipelines
2. Chapter 1: Understanding Azure Pipelines FREE CHAPTER 3. Chapter 2: Creating Build Pipelines 4. Chapter 3: Setting Variables, Environments, Approvals, and Checks 5. Chapter 4: Extending Advanced Azure Pipelines Using YAML 6. Part 2:Azure Pipelines in Action
7. Chapter 5: Implementing the Build Pipeline Using Deployment Tasks 8. Chapter 6: Integrating Testing, Security Tasks, and Other Tools 9. Chapter 7: Monitoring Azure Pipelines 10. Chapter 8: Provisioning Infrastructure Using Infrastructure as Code 11. Part 3:CI/CD for Real-World Scenarios
12. Chapter 9: Implementing CI/CD for Azure Services 13. Chapter 10: Implementing CI/CD for AWS 14. Chapter 11: Automating CI/CD for Cross-Mobile Applications by Using Flutter 15. Chapter 12: Navigating Common Pitfalls and Future Trends in Azure Pipelines 16. Index 17. Other Books You May Enjoy

Creating a PAT

Before you can create self-hosted agents on your server or machine, you must create a PAT. To do this, follow these instructions:

  1. Go to the Settings menu under your personal icon and click on Personal access tokens:
Figure 1.13 – Creating PATs

Figure 1.13 – Creating PATs

  1. Click on New Token:
Figure 1.14 – New Token

Figure 1.14 – New Token

  1. Enter the required information:
    • Name: Enter the name you need
    • Organization: Select an organization you will link to
    • Expiration (UTC): There are four choices – 30 days, 60 days, 90 days, and custom-defined but under 2 years
    • Scopes: Select Custom defined | Agents Pools with Read & manage | Auditing with Read Audit Log:
Figure 1.15 – Entering the required information

Figure 1.15 – Entering the required information

  1. Copy the PAT before clicking on the Close button as you won’t be able to see it again:
Figure 1.16 – Copying the PAT

Figure 1.16 – Copying the PAT

Now, you are ready to set up a self-hosted agent.

You have been reading a chapter from
Implementing CI/CD Using Azure Pipelines
Published in: Dec 2023
Publisher: Packt
ISBN-13: 9781804612491
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime