Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I'm using a notebook activity to get the required secret from my azure keyvault.
Using the 'mssparkutils.notebook.exit("MySecret")' I was hoping to be able to extract the value in my copy activity.
In the additional headers I've created: Authorization with value (dynamic input)
because with this notebook I'm able to call the API;
Solved! Go to Solution.
Hi @Anonymous ,
Thanks for using Fabric Community.
As I understand you are trying to access Azure KeyVault secret from Fabric Pipelines
Can you please refer below docs -
Solved: Re: Accessing Azure KeyVault secret for Fabric Cop... - Microsoft Fabric Community
Get Azure Key Vault secrets in Fabric pipeline – Simplyfies
FYI: If you are checking for Azure Key Vault feature in Data Factory Activities, then it will available soon.
Docs to refer - What's new and planned for Data Factory in Microsoft Fabric - Microsoft Fabric | Microsoft Learn
Hope this is helpful. Please do let me know incase of further queries.
Pipeline copy activity will not work with private keyuvalt. You need Managed Private endpoint to access it. So now (Keyvault connection is in private prieview only) you have to use notebook. So the question is still same. How to get secret from notebook to pipeline if its REDACTED on notebook side?
Thanks
"How to get secret from notebook to pipeline if its REDACTED on notebook side?"
As it stands not without breaking the security of the Key Vault python functions. And if you did discover a way you probably ought to raise a support ticket about it because the point of putting a secret in a Vault is that it isn't usable in its clear text form.
So? How to get a secret from KeyVault using Data Pipeline?
Accepted solution is not a solution. Nobody has public KeyVault accessible from any network via Web request.
Thanks
Hi @Anonymous ,
Thanks for using Fabric Community.
As I understand you are trying to access Azure KeyVault secret from Fabric Pipelines
Can you please refer below docs -
Solved: Re: Accessing Azure KeyVault secret for Fabric Cop... - Microsoft Fabric Community
Get Azure Key Vault secrets in Fabric pipeline – Simplyfies
FYI: If you are checking for Azure Key Vault feature in Data Factory Activities, then it will available soon.
Docs to refer - What's new and planned for Data Factory in Microsoft Fabric - Microsoft Fabric | Microsoft Learn
Hope this is helpful. Please do let me know incase of further queries.