Is there a resource template support for setting the --aad-server-app-id and --aad-server-app-secret parameters?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for the question! We are investigating and will update you shortly.
@iainfoulds are you aware if this is available yet? Seeing as this feature is still in preview we might not have it available yet.
@rzal
In your ARM template you can do this:
"type": "Microsoft.ContainerService/managedClusters",
"location": "[parameters('location')]",
"name": "[parameters('resourceName')]",
"properties": {
"aadProfile": {
"clientAppID" : "....",
"serverAppID" : "....",
"serverAppSecret" : "...",
"tenantID" : "..."
},
"kubernetesVersion": "[parameters('kubernetesVersion')]",
"enableRBAC": "[parameters('enableRBAC')]",
@rzal As @ivog notes, you can define some of those parameters in a template, but there is still likely a portal step required to grant permissions for the app depending on what level of automation you're working towards here. There are some in-progress updates to provide a more automated way of provisioning these, and there's some existing information available here that may help with what you're trying to achieve - https://github.com/shanepeckham/AKS_Security/blob/master/Azure/AD_RBAC/README.md
You can also file feature requests against AKS for new scenarios with regards to the AAD integration at https://aka.ms/aks/feedback
@MicahMcKittrick-MSFT For now, #please-close
Most helpful comment
@rzal As @ivog notes, you can define some of those parameters in a template, but there is still likely a portal step required to grant permissions for the app depending on what level of automation you're working towards here. There are some in-progress updates to provide a more automated way of provisioning these, and there's some existing information available here that may help with what you're trying to achieve - https://github.com/shanepeckham/AKS_Security/blob/master/Azure/AD_RBAC/README.md
You can also file feature requests against AKS for new scenarios with regards to the AAD integration at https://aka.ms/aks/feedback
@MicahMcKittrick-MSFT For now, #please-close