Azure / Azure/azure-cli-extensions
Addition to authorization with environment variable
- Dominant language
- Python
- Stars
- 454
- Forks
- 1.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 64
Description
is it possible that --requires-authorization looks at the $env:AZURE_DEVOPS_EXT_PAT variable like other cmdlets do?
this way we can automate the import from a template through an azure devops pipeline.
for example like:
https://docs.microsoft.com/en-us/azure/devops/cli/log-in-via-pat?view=azure-devops&tabs=windows
thank you.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 82ec496e-0aa8-1dcb-93cb-584fa83fdc0d
* Version Independent ID: 9151bc57-0eac-bf3a-9110-17908d62eeb6
* Content: [az repos import](https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/repos/import?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/ext/azure-devops/repos/import.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/live/latest/docs-ref-autogen/ext/azure-devops/repos/import.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.