You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CONFIG-VARS.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ Supported configuration variables are listed in the tables below. All variables
8
8
-[Table of Contents](#table-of-contents)
9
9
-[Required Variables](#required-variables)
10
10
-[Azure Authentication](#azure-authentication)
11
+
-[Role Based Access Control](#role-based-access-control)
11
12
-[Admin Access](#admin-access)
12
13
-[Security](#security)
13
14
-[Networking](#networking)
@@ -53,6 +54,20 @@ For details on how to retrieve that information, see [Azure Help Topics](./user/
53
54
54
55
For recommendations on how to set these variables in your environment, see [Authenticating Terraform to Access Azure](./user/TerraformAzureAuthentication.md).
55
56
57
+
## Role Based Access Control
58
+
59
+
The ability to manage RBAC for Kubernetes resources from Azure gives you the choice to manage RBAC for the cluster resources either using Azure or native Kubernetes mechanisms. For details see [Azure role-based access control](https://docs.microsoft.com/en-us/azure/aks/concepts-identity#azure-rbac-for-kubernetes-authorization).
60
+
61
+
Following are the possible ways to configure Authentication and Authorization in an AKS cluster:
62
+
1. Authentication using local accounts with Kubernetes RBAC. This is traditionally used and current default, see details [here](https://learn.microsoft.com/en-us/azure/aks/concepts-identity#kubernetes-rbac)
63
+
2. Microsoft Entra authentication with Kubernetes RBAC. See details [here](https://learn.microsoft.com/en-us/azure/aks/azure-ad-rbac)
64
+
65
+
| Name | Description | Type | Default |
66
+
| :--- | ---: | ---: | ---: |
67
+
| rbac_aad_enabled | Enables Azure Active Directory integration with Kubernetes RBAC. | bool | false |
68
+
| rbac_aad_admin_group_object_ids | A list of Object IDs of Azure Active Directory Groups which should have Admin Role on the Cluster. | list(string) | null |
69
+
| rbac_aad_tenant_id | (Optional) The Tenant ID used for Azure Active Directory Application. If this isn't specified the Tenant ID of the current Subscription is used.| string ||
70
+
56
71
## Admin Access
57
72
58
73
By default, the public endpoints of the Azure resources that are being created
description="Enables Azure Active Directory integration with Kubernetes RBAC."
28
+
default=false
29
+
}
30
+
31
+
variable"rbac_aad_admin_group_object_ids" {
32
+
type=list(string)
33
+
description="A list of Object IDs of Azure Active Directory Groups which should have Admin Role on the Cluster."
34
+
default=null
35
+
}
36
+
37
+
variable"rbac_aad_tenant_id" {
38
+
type=string
39
+
description="(Optional) The Tenant ID used for Azure Active Directory Application. If this isn't specified the Tenant ID of the current Subscription is used."
40
+
default=null
41
+
}
42
+
25
43
variable"aks_cluster_sku_tier" {
26
44
description="The SKU Tier that should be used for this Kubernetes Cluster. Possible values are Free, Standard (which includes the Uptime SLA) and Premium. Defaults to Free"
Copy file name to clipboardExpand all lines: variables.tf
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,25 @@ variable "location" {
58
58
default="eastus"
59
59
}
60
60
61
+
## Azure AD
62
+
variable"rbac_aad_enabled" {
63
+
type=bool
64
+
description="Enables Azure Active Directory integration with Kubernetes RBAC."
65
+
default=false
66
+
}
67
+
68
+
variable"rbac_aad_admin_group_object_ids" {
69
+
type=list(string)
70
+
description="A list of Object IDs of Azure Active Directory Groups which should have Admin Role on the Cluster."
71
+
default=null
72
+
}
73
+
74
+
variable"rbac_aad_tenant_id" {
75
+
type=string
76
+
description="(Optional) The Tenant ID used for Azure Active Directory Application. If this isn't specified the Tenant ID of the current Subscription is used."
77
+
default=null
78
+
}
79
+
61
80
variable"aks_cluster_sku_tier" {
62
81
description="The SKU Tier that should be used for this Kubernetes Cluster. Possible values are Free, Standard (which includes the Uptime SLA) and Premium. Defaults to Free"
0 commit comments