Add Tags and Location parameters to SSH key cmdlets#4
Draft
Conversation
Co-authored-by: Haider Agha <64601174+haagha@users.noreply.github.com> Co-authored-by: PSCmdAssistant <165698868+PSCmdAssistant@users.noreply.github.com> Co-authored-by: audreyttt <audreytoney@microsoft.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Janiel Martell Colon <janielm@microsoft.com>
Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
Co-authored-by: Janiel Martell Colon <janielm@microsoft.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…zure#29143) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: isra-fel <11371776+isra-fel@users.noreply.github.com> Co-authored-by: Yeming Liu <yeliu@microsoft.com>
Co-authored-by: Yeming Liu <yeliu@microsoft.com> Co-authored-by: DanielMicrosoft <dlanguiller@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Srinivaas Ganesan <srganesa@microsoft.com>
Co-authored-by: audreyttt <225061541+audreyttt@users.noreply.github.com>
Author
Copilot
AI
changed the title
Add Tag and Location parameters to SSH key cmdlets
Add Tags and Location parameters to SSH key cmdlets
Feb 11, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…thub.com/audreyttt/azure-powershell into audreyttt/sshkey-params
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Haider Agha <64601174+haagha@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: audreyttt <225061541+audreyttt@users.noreply.github.com> Co-authored-by: Arsene Muhire <arsenemuhire@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Customer IcM identified missing
-Tagsand-Locationparameters inNew-AzSshKey, and-TagsinUpdate-AzSshKey.Changes
New-AzSshKey
-Locationparameter (optional, defaults to resource group location)-Tagsparameter (optional, Hashtable) with-Tagalias for backward compatibilityUpdate-AzSshKey
-Tagsparameter (optional, Hashtable) with-Tagalias for backward compatibilityTests
Test-SshKeyWithTags: validates tag creation and updatesTest-SshKeyWithLocation: validates custom location specificationDocumentation
Usage
Implementation Notes
Tags(plural) withTagalias, matching convention from New-AzVMConfigTags.Cast<DictionaryEntry>().ToDictionary()IsParameterBound()Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.