Skip to content

Conversation

@DanielMicrosoft
Copy link
Contributor

@DanielMicrosoft DanielMicrosoft commented Jan 12, 2026

Description

Breaking notification attributes added for GetAzureKeyVaultSecret and GetAzureKeyVaultKey.

Changes will be implemented in #29015

And relates to #26217.

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings January 12, 2026 05:52
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

@DanielMicrosoft DanielMicrosoft added KeyVault Breaking Change Preannounce This PR adds preannouncement about upcoming breaking change labels Jan 12, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds breaking change notification attributes to two Key Vault cmdlets (Get-AzKeyVaultSecret and Get-AzKeyVaultKey) to inform users that certificate-backed secrets and keys will no longer be returned when listing these resources in a future release (version 16.0.0). This change prepares users for the breaking changes planned in PR #29015.

Changes:

  • Added GenericBreakingChangeWithVersion attribute to GetAzureKeyVaultSecret class
  • Added GenericBreakingChangeWithVersion attribute to GetAzureKeyVaultKey class
  • Added necessary namespace import (Microsoft.WindowsAzure.Commands.Common.CustomAttributes) to both files

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/KeyVault/KeyVault/Commands/Secret/GetAzureKeyVaultSecret.cs Added breaking change attribute and namespace import to notify users that certificate-backed secrets will no longer be returned when listing secrets
src/KeyVault/KeyVault/Commands/Key/GetAzureKeyVaultKey.cs Added breaking change attribute and namespace import to notify users that certificate-backed keys will no longer be returned when listing keys

@DanielMicrosoft DanielMicrosoft marked this pull request as ready for review January 12, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Change Preannounce This PR adds preannouncement about upcoming breaking change KeyVault

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant