azure-aks-cluster-admin-kubeconfig
The admin kubeconfig contains authentication material granting cluster-admin access when local accounts are enabled.
Where it sits
| location | Microsoft.ContainerService/managedClusters/listClusterAdminCredential response.kubeconfigs[].value |
|---|---|
| location kind | output_value |
| data kinds | credential certificate private_key |
| emits edge | ExposesCredential |
| service | AKS (azure:aks) |
Collection recipe
| access mode | read_api |
|---|---|
| operation | Managed Clusters - List Cluster Admin Credentials |
| response path | kubeconfigs[].value |
| encoding | base64 |
| params | {"resource_id": "\u003cazure-resource-id\u003e"} |
Required permissions
Microsoft.ContainerService/managedClusters/listClusterAdminCredential/action