Skip to content

az keyvault key show command returns different attribute names and format since v2.73.0 upgrade #31529

@fidelcasto

Description

@fidelcasto

Describe the bug

Using previous versions of Azure CLI, the 'az keyvault key show' command returned a set of properties including the 'expires' attribute. Since updating to version 2.73.0, the property is called 'exp'. I also noticed the dates are not displayed as before also. Is this expected behavior? If so, shouldn't there be any release notes regarding this?

Related command

az keyvault key show

Issue script & Debug output

attributes : @{created=1747845872; enabled=True; exp=1811522587; exportable=False; hsmPlatform=0;
recoverableDays=90; recoveryLevel=Recoverable; updated=1747845872}

Expected behavior

attributes : @{created=2025-05-21T16:44:32+00:00; enabled=True; expires=2027-05-28T16:43:07+00:00;
exportable=False; hsmPlatform=0; notBefore=; recoverableDays=90; recoveryLevel=Recoverable;
updated=2025-05-21T16:44:32+00:00}

Environment Summary

azure-cli 2.73.0

core 2.73.0
telemetry 1.1.0

Extensions:
account 0.2.5

Dependencies:
msal 1.32.3
azure-mgmt-resource 23.3.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users...].azure'
Extensions directory 'C:\Users[...].azure\cliextensions'

Python (Windows) 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:07:15) [MSC v.1942 32 bit (Intel)]

Additional context

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamKeyVaultaz keyvaultcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions