Forum Discussion
Microsoft Fabric connect to Azure Key Vault
- Anonymous3 years ago
datakohai12 Thanks for sharing the steps Fabric currently does not support managed identity authentication which is what this is trying to authenticate via. Until that's fully integrated, there's a simple workaround. As long as you are executing notebook has access to the vault, the below will work.
from trident_token_library_wrapper import PyTridentTokenLibrary as tl
access_token = mssparkutils.credentials.getToken("keyvault")
tl.get_secret_with_token("https://vaultName.vault.azure.net/","secretName",access_token)
Regards
Geetha
- Anonymous3 years ago
datakohai12 It wouldn't be present in pypi
you should be able to execute that code directly in your Trident notebook if you're not able to send over a screenshot of the error.
Regards
Geetha
- 3 years ago
Interesting is now working. Thanks.
datakohai12 It wouldn't be present in pypi
you should be able to execute that code directly in your Trident notebook if you're not able to send over a screenshot of the error.
Regards
Geetha
Interesting is now working. Thanks.
- Anonymous3 years agoNot applicable
Good to hear that it is now working for you,
Thanks for visiting Fabric Community have a great day!Regards
Geetha