Forum Discussion
Azure Key Vault Connection
- 1 year ago
Hi Srisakthi ,
You can create and manage Key Vault connections in the Data -> Connections tab.
Direct usage of those Key Vault connections in Lakehouse or Notebook environment is not natively exposed yet.I suggest submitting your detailed feedback and ideas through Microsoft's official feedback channels, such as Microsoft Fabric Ideas. Feedback submitted through these channels is frequently reviewed by the product teams and can contribute to meaningful improvements.
Fabric Ideas - Microsoft Fabric Community
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!Thank you
- 1 year ago
Hi v-dineshya ,
I have submitted the idea. Please check
MS Fabric Connections in Notebook - Microsoft Fabric Community
Thanks,
Srisakthi
Hi Srisakthi ,
Thank you for reaching out to the Microsoft Community Forum.
1. Roadmap for Service Principal or Workspace Identity as Authentication Methods
Azure Key Vault connections in Microsoft Fabric support OAuth authentication. While there is no explicit documentation detailing the roadmap for Service Principal or Workspace Identity authentication methods for Azure Key Vault connections, Microsoft is actively enhancing authentication capabilities within Fabric.
Workspace Identity a managed service principal associated with a Fabric workspace is available and can be used for authentication with certain data sources, such as Azure Data Lake Storage Gen2. This feature allows Fabric items like OneLake shortcuts, data pipelines, and semantic models to authenticate securely without managing credentials manually.
While Workspace Identity support for Azure Key Vault connections is not explicitly mentioned, the ongoing enhancements suggest that broader authentication method support may be introduced in the future.
2. Referencing Azure Key Vault Connections in Notebooks
To access Azure Key Vault secrets within Fabric notebooks, you can use the mssparkutils library.
sample code snippet:
# Replace with your Key Vault URL and secret name
secret_value = mssparkutils.credentials.getSecret('https://<your-keyvault-name>.vault.azure.net/', 'your-secret-name')
print(secret_value)
Please refer community threads and Microsoft articles and blogs.
Authenticate with Microsoft Fabric workspace identity - Microsoft Fabric | Microsoft Learn
Solved: Access Key-vault in notebooks - Microsoft Fabric Community
Authenticate to Azure Key Vault | Microsoft Learn
Workspace identity - Microsoft Fabric | Microsoft Learn
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
- v-dineshya1 year agoCommunity Support
Hi Srisakthi ,
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
- v-dineshya1 year agoCommunity Support
Hi @Srisakthi ,
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you
- v-dineshya1 year agoCommunity Support
Hi @Srisakthi ,
If my response has resolved your query, please mark it as the "Accepted Solution" to assist others. Additionally, a "Kudos" would be appreciated if you found my response helpful.
Thank you