Azure / Azure/azure-powershell

[Feature]: AKS create – support no SSH key scenario

Open
#29,420 1 comment 0 reactions 1 assignee Claimed by @NoriZC View on GitHub
act-observability-squad feature-request
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description of the new feature

We have a customer scenario highlighting a feature parity gap between Azure CLI and Az PowerShell when creating AKS clusters, specifically around SSH key handling.

Azure CLI supports creating AKS clusters without associating an SSH key using: az aks create --no-ssh-key

In contrast, Az PowerShell (New-AzAksCluster) currently:

Requires an SSH public key (default ~/.ssh/id_rsa.pub), or
Forces -GenerateSshKey

There is no PowerShell flag to explicitly opt out of SSH key creation or persistence and they are using powershell based script to create the clusters.

### Proposed implementation details (optional)

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.