Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ARM Template for deploying an AKS Cluster with Managed AAD Integration
{
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"clusterAdminGroupObjectIds": {
"defaultValue": [],
"type": "array",
"metadata": {
"description": "Array of Azure AD Group object Ids to use for cluster administrators."
}
}
},
"resources": [
{
"name": "MyAksCluster",
"type": "Microsoft.ContainerService/managedClusters",
"apiVersion": "2020-04-01",
"location": "eastus",
"properties": {
"kubernetesVersion": "1.18.4",
"enableRBAC": true,
"aadProfile": {
"managed": true,
"adminGroupObjectIds": "[parameters('clusterAdminGroupObjectIds')]",
"tenantId": "[subscription().tenantId]"
}
// Other cluster properties here...
},
"identity": {
"type": "SystemAssigned"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.