[ACR] az acr task create/update and az acr build/run: Add ABAC support for ACR Tasks#31069
[ACR] az acr task create/update and az acr build/run: Add ABAC support for ACR Tasks#31069zhoxing-ms merged 18 commits intoAzure:devfrom
az acr task create/update and az acr build/run: Add ABAC support for ACR Tasks#31069Conversation
…support for ACR Tasks
️✔️AzureCLI-FullTest
|
|
Hi @lizMSFT, |
❌AzureCLI-BreakingChangeTest
Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
az acr tasks create | update, az acr build | run: Add ABAC support for ACR Tasksaz acr tasks create | update, az acr build | run: Add ABAC support for ACR Tasks
az acr tasks create | update, az acr build | run: Add ABAC support for ACR Tasksaz acr tasks create | update, az acr build | run: Add ABAC support for ACR Tasks
az acr tasks create | update, az acr build | run: Add ABAC support for ACR Tasksaz acr task create/update and az acr build/run: Add ABAC support for ACR Tasks
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_task_abac_commands.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_task_abac_commands.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_task_abac_commands.py
Show resolved
Hide resolved
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Related command
az acr task create | updateaz acr build | runDescription
Added the new optional
--source-acr-auth-idflagHistory Notes
[ACR]
az acr task create/update: Add a new optional parameter--source-acr-auth-idto specify the managed identity used for authentication with the source registry[ACR]
az acr build: Add a new optional parameter--source-acr-auth-idto specify the identity used for authentication with the source registry[ACR]
az acr run: Add a new optional parameter--source-acr-auth-idto specify the identity used for authentication with the source registryTesting Guide
az acr task create:System-Assigned MI for Task Access



Before the role assignment:
After the role assignment:
User-Assigned MI for Task Access

No Task Source Registry Identity for Access


az acr task update:az acr build:az acr run:This checklist is used to make sure that common guidelines for a pull request are followed.