Skip to content

az keyvault secret fails with error Session.request() got an unexpected keyword argument 'enable_cae' #38082

Description

@stephan-uhlmann
  • Package Name: azure-keyvault-secrets
  • Package Version: 4.9.0
  • Operating System: Linux (openSUSE Tumbleweed)
  • Python Version: 3.11.10

Describe the bug
Since the last update of azure-keyvault-secrets the az keyvault secret commands fail with the error

Session.request() got an unexpected keyword argument 'enable_cae'

To Reproduce
Steps to reproduce the behavior:

  1. Example command which fails: az keyvault secret list --vault-name myvault
  2. Also: az keyvault secret show --vault-name myvault --name mysecret --query value -o tsv

Expected behavior
Command runs successfully.

Screenshots

I'll post a debug log as an additional comment, to keep this descripton readable.

Additional context

Commands az keyvault list run successfully.
Command az keyvault certificate list --vault-name myvault also fails with the same error (azure-keyvault-certificates==4.9.0).
Maybe there are more, I can test others as well if needed.

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.KeyVaultcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.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

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions