From 83bc996501c8303e2226ab608d70c2e28f8c2067 Mon Sep 17 00:00:00 2001 From: Aditya Pujara <59631311+a0x1ab@users.noreply.github.com> Date: Thu, 2 Oct 2025 11:17:11 +0930 Subject: [PATCH] Add breaking change announcement for aks create SSH key behavior - Default SSH key behavior will change in next breaking change release (2.79.0) - When no SSH key parameters are provided, command will behave as if '--no-ssh-key' was passed instead of failing --- .../azure/cli/command_modules/acs/_breaking_change.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/acs/_breaking_change.py b/src/azure-cli/azure/cli/command_modules/acs/_breaking_change.py index a6f1ed479c9..dd5323105af 100644 --- a/src/azure-cli/azure/cli/command_modules/acs/_breaking_change.py +++ b/src/azure-cli/azure/cli/command_modules/acs/_breaking_change.py @@ -1,4 +1,13 @@ # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. -# -------- +# -------------------------------------------------------------------------------------------- + +from azure.cli.core.breaking_change import register_logic_breaking_change + +# Breaking change: change default SSH key handling in `az aks create` +register_logic_breaking_change( + 'aks create', + summary="Default SSH key behavior will change. When no SSH key parameters are provided, " + "the command will behave as if '--no-ssh-key' was passed instead of failing" +)