Azure DevOps
azuredevops Clone from Azure DevOps Services or Azure DevOps Server with a personal access token, Microsoft Entra ID or an SSH key, and pick repositories from a list.
Setup
Choose how Pando signs in
Create a personal access token
- In Azure DevOps, open User settings → Personal access tokens → New Token.
- Enter a Name, select the Organization, and set an Expiration. On Azure DevOps Server, select the collection.
- Under Scopes, choose Custom defined, then select Read under Code.
- Choose Create and copy the token.
Register an app in Microsoft Entra ID
- In the Microsoft Entra admin center, open Entra ID → App registrations → New registration.
- Enter a Name and choose Register.
- For Entra ID sign-in, under API permissions, choose Add a permission → Azure DevOps → Delegated permissions, select vso.code, and choose Add permissions.
- For Entra ID sign-in, under Authentication, set Allow public client flows to Yes and choose Save.
- For browser sign-in, under Authentication, choose Add Redirect URI → Web, enter your Pando address plus
/api/v1/sources/callback, and choose Configure. - For a service principal, in Azure DevOps open Organization settings → Users → Add users. Enter the app's name, choose Basic access and the projects, and choose Add.
- On the app's Overview, copy the Application (client) ID and Directory (tenant) ID.
Create a client secret
- In the app registration, open Certificates & secrets → Client secrets → New client secret.
- Enter a description, choose an expiration, and choose Add.
- Copy the secret's Value.
Add an SSH key
- Run
ssh-keygen -t rsa -b 3072 -f pando-azure -N "". - In Azure DevOps, open User settings → SSH public keys → New Key.
- Paste
pando-azure.pubinto Public Key Data, enter a name, and choose Save. - Paste
pando-azurebelow. - Run
ssh-keyscan ssh.dev.azure.com, or your server's host, and paste its output below.
- Run
Choose an organization
Settings (12)
methodHow Pando signs inRequiredhostHostThe host repositories are on. Change it for a self-managed server.
scopeOrganizationThe organization, or organization/project to limit the connection to one project. On Azure DevOps Server, the collection, or collection/project.
tokenPersonal access tokenCredentialA personal access token with the Code (Read) scope.
tenant_idDirectory (tenant) IDThe app registration's directory (tenant) ID. Only a multitenant app accepts organizations.
client_idApplication (client) IDThe app registration's application (client) ID, from Microsoft Entra ID.
client_secretClient secretCredentialRequired for a service principal and for browser sign-in. Device sign-in works without one.
ssh_private_keySSH private keyCredentialThe private half of a deploy key or access key added to the repository. Pando reads the repository with it and never writes.
ssh_passphraseKey passphraseCredentialOnly if the key has one.
known_hostsKnown hostsThe host's public key, as ssh-keyscan ssh.dev.azure.com (or your server's host) prints it.
api_urlAPI addressAdvancedWhere the host's API is, if not where Pando would look for it.
ca_bundleCertificate authorityAdvancedPEM certificates to trust for a self-managed host on a private certificate authority, beside the system's.