Skip to content

Instantly share code, notes, and snippets.

@brbarnett
Created August 3, 2018 18:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save brbarnett/6e5d13a1c9961833e48bf8ddd95019e8 to your computer and use it in GitHub Desktop.
Save brbarnett/6e5d13a1c9961833e48bf8ddd95019e8 to your computer and use it in GitHub Desktop.
Create Azure custom role for az aks get-credentials
{
"Name":"AKS Cluster Configuration Reader",
"Id":"{{ create a unique guid }}",
"IsCustom":true,
"Description":"Can get AKS configuration.",
"Actions":[
"Microsoft.ContainerService/managedClusters/accessProfiles/listCredential/action",
"Microsoft.ContainerService/managedClusters/listClusterUserCredential/action"
],
"NotActions":[
],
"DataActions":[
],
"NotDataActions":[
],
"AssignableScopes":[
"/subscriptions/{{ your subscription ID }}"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment