Azure / Azure/azure-cli

Create batch pools with configuration of user assigned identities

Open
#18,629 3 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Batch Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**
It is now possible to create batch pools that use a user assigned managed identity [see Azure Docs](https://docs.microsoft.com/en-us/azure/batch/managed-identity-pools#create-a-batch-pool-with-user-assigned-managed-identities).
This is a very nice feature to authenticate the access from the batch VMs to other azure services. Right now, it is not possible to create such a configured pool via the CLI - only by using the SDK.

**Describe the solution you'd like**
Simple CLI Parameter to configure the user assigned identites that should be used creating the pool, e.g.

````
az batch pool create \
--id mypool \
--image microsoft-azure-batch:ubuntu-server-container:20-04-lts \
--node-agent-sku-id batch.node.ubuntu 20.04 \
--user-assigned-identities 210d0ab6-d4fe-11eb-a1d7-0f7ac90d9a0e,26185632-d4fe-11eb-8845-733c15eeb6f3
````

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.