Skip to content

Commit c989845

Browse files
authored
[AKS] Support EntraID SSH (#9329)
1 parent 19cb4a2 commit c989845

File tree

5 files changed

+2585
-0
lines changed

5 files changed

+2585
-0
lines changed

src/aks-preview/HISTORY.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ To release a new version, please select a new version number (usually plus 1 to
1111

1212
Pending
1313
+++++++
14+
* Support `entraid` for parameter `--ssh-access` to support EntraID feature.
1415

1516
19.0.0b6
1617
+++++++

src/aks-preview/azext_aks_preview/_consts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@
354354
# SSH Access Consts
355355
CONST_SSH_ACCESS_DISABLED = "disabled"
356356
CONST_SSH_ACCESS_LOCALUSER = "localuser"
357+
CONST_SSH_ACCESS_ENTRAID = "entraid"
357358

358359
# Dns zone contributor role
359360
CONST_PRIVATE_DNS_ZONE_CONTRIBUTOR_ROLE = "Private DNS Zone Contributor"

src/aks-preview/azext_aks_preview/_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
CONST_MANAGED_CLUSTER_SKU_NAME_AUTOMATIC,
140140
CONST_SSH_ACCESS_LOCALUSER,
141141
CONST_SSH_ACCESS_DISABLED,
142+
CONST_SSH_ACCESS_ENTRAID,
142143
CONST_CLUSTER_SERVICE_HEALTH_PROBE_MODE_SERVICE_NODE_PORT,
143144
CONST_CLUSTER_SERVICE_HEALTH_PROBE_MODE_SHARED,
144145
CONST_ARTIFACT_SOURCE_DIRECT,
@@ -511,6 +512,7 @@
511512
ssh_accesses = [
512513
CONST_SSH_ACCESS_LOCALUSER,
513514
CONST_SSH_ACCESS_DISABLED,
515+
CONST_SSH_ACCESS_ENTRAID,
514516
]
515517

516518
health_probe_modes = [

0 commit comments

Comments
 (0)