Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prasanthj/19b77b967c01853c58113d37e64bc1cc to your computer and use it in GitHub Desktop.
Save prasanthj/19b77b967c01853c58113d37e64bc1cc 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