Back to Dashboard

Azure Kubernetes Service RBAC Writer

Azure Built-in Role

Role Information

Details and metadata

Role ID
a7ffa36f-339b-4b5c-8bdf-e2c188b2c0eb
Type
BuiltInRole
Last Updated (Azure)
2023-04-26 15:25:35

Change History

Track all modifications to this role

2025-12-14 23:49:13 Initial Scan
View details
{
  "properties": {
    "roleName": "Azure Kubernetes Service RBAC Writer",
    "type": "BuiltInRole",
    "description": "Allows read/write access to most objects in a namespace.This role does not allow viewing or modifying roles or role bindings. However, this role allows accessing Secrets and running Pods as any ServiceAccount in the namespace, so it can be used to gain the API access levels of any ServiceAccount in the namespace. Applying this role at cluster scope will give access across all namespaces.",
    "assignableScopes": [
      "/"
    ],
    "permissions": [
      {
        "actions": [
          "Microsoft.Authorization/*/read",
          "Microsoft.Resources/subscriptions/operationresults/read",
          "Microsoft.Resources/subscriptions/read",
          "Microsoft.Resources/subscriptions/resourceGroups/read"
        ],
        "notActions": [],
        "dataActions": [
          "Microsoft.ContainerService/managedClusters/apps/controllerrevisions/read",
          "Microsoft.ContainerService/managedClusters/apps/daemonsets/*",
          "Microsoft.ContainerService/managedClusters/apps/deployments/*",
          "Microsoft.ContainerService/managedClusters/apps/replicasets/*",
          "Microsoft.ContainerService/managedClusters/apps/statefulsets/*",
          "Microsoft.ContainerService/managedClusters/autoscaling/horizontalpodautoscalers/*",
          "Microsoft.ContainerService/managedClusters/batch/cronjobs/*",
          "Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/read",
          "Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/write",
          "Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/delete",
          "Microsoft.ContainerService/managedClusters/discovery.k8s.io/endpointslices/read",
          "Microsoft.ContainerService/managedClusters/batch/jobs/*",
          "Microsoft.ContainerService/managedClusters/configmaps/*",
          "Microsoft.ContainerService/managedClusters/endpoints/*",
          "Microsoft.ContainerService/managedClusters/events.k8s.io/events/read",
          "Microsoft.ContainerService/managedClusters/events/*",
          "Microsoft.ContainerService/managedClusters/extensions/daemonsets/*",
          "Microsoft.ContainerService/managedClusters/extensions/deployments/*",
          "Microsoft.ContainerService/managedClusters/extensions/ingresses/*",
          "Microsoft.ContainerService/managedClusters/extensions/networkpolicies/*",
          "Microsoft.ContainerService/managedClusters/extensions/replicasets/*",
          "Microsoft.ContainerService/managedClusters/limitranges/read",
          "Microsoft.ContainerService/managedClusters/metrics.k8s.io/pods/read",
          "Microsoft.ContainerService/managedClusters/metrics.k8s.io/nodes/read",
          "Microsoft.ContainerService/managedClusters/namespaces/read",
          "Microsoft.ContainerService/managedClusters/networking.k8s.io/ingresses/*",
          "Microsoft.ContainerService/managedClusters/networking.k8s.io/networkpolicies/*",
          "Microsoft.ContainerService/managedClusters/persistentvolumeclaims/*",
          "Microsoft.ContainerService/managedClusters/pods/*",
          "Microsoft.ContainerService/managedClusters/policy/poddisruptionbudgets/*",
          "Microsoft.ContainerService/managedClusters/replicationcontrollers/*",
          "Microsoft.ContainerService/managedClusters/resourcequotas/read",
          "Microsoft.ContainerService/managedClusters/secrets/*",
          "Microsoft.ContainerService/managedClusters/serviceaccounts/*",
          "Microsoft.ContainerService/managedClusters/services/*"
        ],
        "notDataActions": []
      }
    ],
    "createdOn": "2020-07-02T17:54:51.964Z",
    "updatedOn": "2023-04-26T15:25:35.88Z",
    "createdBy": null,
    "updatedBy": null
  },
  "id": "/providers/Microsoft.Authorization/roleDefinitions/a7ffa36f-339b-4b5c-8bdf-e2c188b2c0eb",
  "type": "Microsoft.Authorization/roleDefinitions",
  "name": "a7ffa36f-339b-4b5c-8bdf-e2c188b2c0eb"
}

Latest Role JSON

Raw definition from Azure

{
  "properties": {
    "roleName": "Azure Kubernetes Service RBAC Writer",
    "type": "BuiltInRole",
    "description": "Allows read/write access to most objects in a namespace.This role does not allow viewing or modifying roles or role bindings. However, this role allows accessing Secrets and running Pods as any ServiceAccount in the namespace, so it can be used to gain the API access levels of any ServiceAccount in the namespace. Applying this role at cluster scope will give access across all namespaces.",
    "assignableScopes": [
      "/"
    ],
    "permissions": [
      {
        "actions": [
          "Microsoft.Authorization/*/read",
          "Microsoft.Resources/subscriptions/operationresults/read",
          "Microsoft.Resources/subscriptions/read",
          "Microsoft.Resources/subscriptions/resourceGroups/read"
        ],
        "notActions": [],
        "dataActions": [
          "Microsoft.ContainerService/managedClusters/apps/controllerrevisions/read",
          "Microsoft.ContainerService/managedClusters/apps/daemonsets/*",
          "Microsoft.ContainerService/managedClusters/apps/deployments/*",
          "Microsoft.ContainerService/managedClusters/apps/replicasets/*",
          "Microsoft.ContainerService/managedClusters/apps/statefulsets/*",
          "Microsoft.ContainerService/managedClusters/autoscaling/horizontalpodautoscalers/*",
          "Microsoft.ContainerService/managedClusters/batch/cronjobs/*",
          "Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/read",
          "Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/write",
          "Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/delete",
          "Microsoft.ContainerService/managedClusters/discovery.k8s.io/endpointslices/read",
          "Microsoft.ContainerService/managedClusters/batch/jobs/*",
          "Microsoft.ContainerService/managedClusters/configmaps/*",
          "Microsoft.ContainerService/managedClusters/endpoints/*",
          "Microsoft.ContainerService/managedClusters/events.k8s.io/events/read",
          "Microsoft.ContainerService/managedClusters/events/*",
          "Microsoft.ContainerService/managedClusters/extensions/daemonsets/*",
          "Microsoft.ContainerService/managedClusters/extensions/deployments/*",
          "Microsoft.ContainerService/managedClusters/extensions/ingresses/*",
          "Microsoft.ContainerService/managedClusters/extensions/networkpolicies/*",
          "Microsoft.ContainerService/managedClusters/extensions/replicasets/*",
          "Microsoft.ContainerService/managedClusters/limitranges/read",
          "Microsoft.ContainerService/managedClusters/metrics.k8s.io/pods/read",
          "Microsoft.ContainerService/managedClusters/metrics.k8s.io/nodes/read",
          "Microsoft.ContainerService/managedClusters/namespaces/read",
          "Microsoft.ContainerService/managedClusters/networking.k8s.io/ingresses/*",
          "Microsoft.ContainerService/managedClusters/networking.k8s.io/networkpolicies/*",
          "Microsoft.ContainerService/managedClusters/persistentvolumeclaims/*",
          "Microsoft.ContainerService/managedClusters/pods/*",
          "Microsoft.ContainerService/managedClusters/policy/poddisruptionbudgets/*",
          "Microsoft.ContainerService/managedClusters/replicationcontrollers/*",
          "Microsoft.ContainerService/managedClusters/resourcequotas/read",
          "Microsoft.ContainerService/managedClusters/secrets/*",
          "Microsoft.ContainerService/managedClusters/serviceaccounts/*",
          "Microsoft.ContainerService/managedClusters/services/*"
        ],
        "notDataActions": []
      }
    ],
    "createdOn": "2020-07-02T17:54:51.964Z",
    "updatedOn": "2023-04-26T15:25:35.88Z",
    "createdBy": null,
    "updatedBy": null
  },
  "id": "/providers/Microsoft.Authorization/roleDefinitions/a7ffa36f-339b-4b5c-8bdf-e2c188b2c0eb",
  "type": "Microsoft.Authorization/roleDefinitions",
  "name": "a7ffa36f-339b-4b5c-8bdf-e2c188b2c0eb"
}

Effective Permissions

Operations granted by this role (119 total)

Permission Patterns (from role definition)

Actions 4 patterns
Microsoft.Authorization/*/read Microsoft.Resources/subscriptions/operationresults/read Microsoft.Resources/subscriptions/read Microsoft.Resources/subscriptions/resourceGroups/read
Data Actions 35 patterns
Microsoft.ContainerService/managedClusters/apps/controllerrevisions/read Microsoft.ContainerService/managedClusters/apps/daemonsets/* Microsoft.ContainerService/managedClusters/apps/deployments/* Microsoft.ContainerService/managedClusters/apps/replicasets/* Microsoft.ContainerService/managedClusters/apps/statefulsets/* Microsoft.ContainerService/managedClusters/autoscaling/horizontalpodautoscalers/* Microsoft.ContainerService/managedClusters/batch/cronjobs/* Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/read Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/write Microsoft.ContainerService/managedClusters/coordination.k8s.io/leases/delete Microsoft.ContainerService/managedClusters/discovery.k8s.io/endpointslices/read Microsoft.ContainerService/managedClusters/batch/jobs/* Microsoft.ContainerService/managedClusters/configmaps/* Microsoft.ContainerService/managedClusters/endpoints/* Microsoft.ContainerService/managedClusters/events.k8s.io/events/read Microsoft.ContainerService/managedClusters/events/* Microsoft.ContainerService/managedClusters/extensions/daemonsets/* Microsoft.ContainerService/managedClusters/extensions/deployments/* Microsoft.ContainerService/managedClusters/extensions/ingresses/* Microsoft.ContainerService/managedClusters/extensions/networkpolicies/* Microsoft.ContainerService/managedClusters/extensions/replicasets/* Microsoft.ContainerService/managedClusters/limitranges/read Microsoft.ContainerService/managedClusters/metrics.k8s.io/pods/read Microsoft.ContainerService/managedClusters/metrics.k8s.io/nodes/read Microsoft.ContainerService/managedClusters/namespaces/read Microsoft.ContainerService/managedClusters/networking.k8s.io/ingresses/* Microsoft.ContainerService/managedClusters/networking.k8s.io/networkpolicies/* Microsoft.ContainerService/managedClusters/persistentvolumeclaims/* Microsoft.ContainerService/managedClusters/pods/* Microsoft.ContainerService/managedClusters/policy/poddisruptionbudgets/* Microsoft.ContainerService/managedClusters/replicationcontrollers/* Microsoft.ContainerService/managedClusters/resourcequotas/read Microsoft.ContainerService/managedClusters/secrets/* Microsoft.ContainerService/managedClusters/serviceaccounts/* Microsoft.ContainerService/managedClusters/services/*

Control Plane Operations (34)

Data Plane Operations (85)