Azure-docs: ARM template support

Created on 24 Jul 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

Is there a resource template support for setting the --aad-server-app-id and --aad-server-app-secret parameters?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author container-servicsvc product-question triaged

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

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdcoder2 picture bdcoder2  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments

Ponant picture Ponant  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments