azure-keyvaults-secrets 4.4.0 SecretClient.get_secret Connection timed out #25328
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-triage
Workflow: This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
When trying to retrieve a secret with SecretClient.get_secret, it hangs for a very long time before eventually timing out. The SecretClient is initialized with a ManagedIdentity that has Keyvault Secrets User permissions on the keyvault in question.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Retrieve the secret almost immediately.
Additional context
Here is the full stack trace:
And here is the result of
pip freeze
:The text was updated successfully, but these errors were encountered: