Closed AkhilA4 closed 4 years ago
@AkhilA4 it has to do with the fact that you have the "azure" and "azure-keyvault" modules installed as well. Actually, when I went to install "azure-keyvault", pip threw an error (though it stil installed 4.1.0) that azure requires "azure-keyvault" version ~=1.0. I tried removing the "azure" and "azure-keyvault" modules, but that doesn't appear to be enough to clear it up. My solution is to create a new virtual environment, and just install "azure-keyvault-certificates", "azure-keyvault-secrets", and "azure-keyvault-keys", i.e. pip install azure-keyvault-keys azure-keyvault-secrets azure-keyvault-certificates
(assuming you want all of the keyvault libraries)
@iscai-msft , thanks for the response. We decided to stick with the azure-keyvault version 1.1.0 for now and we are able to import keyVaultClient comfortably. Closing the issue.
We ran into a similar issue: https://github.com/Azure/azure-sdk-for-python/issues/8591 and then upgarded the azure-keyvault to 4.1.0. Tried importing the azure.keyvault but running into the importError. We need SecretClient library for accessing our key vault which should be imported from azure.keyvault.secrets. We used this documentation for reference: key vault documentation.
Here is the list of packages we installed
Could someone please help us.