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
Hi All,
Has anyone know how to deal with secrets, tokens in notebook.
I Python usual practive is to have the token as a enviroment variable in a .env file so I do not need to expose the secret in the notebook.
Any ideas?
Regards
Pedro
Solved! Go to Solution.
Hello @PedroJunqueira ,
Thanks for using Fabric Community.
Just adding some additional reference to @AndyDDC comment inorder to get some better understanding - Read Secrets From Azure Key Vault in Microsoft Fabric Notebooks (youtube.com)
We haven’t heard from you on the last response and was just checking back to see if we answered your query.
Otherwise, will respond back with the more details and we will try to help .
Can we access secrets in a key vault without knowing secret name using fabric notebook?
Hi @PedroJunqueira you could use Azure Key Vault to store secrets in and then access via Notebooks. There's a full rundown of the process here:
https://iterationinsights.com/article/microsoft-fabric-notebooks-and-azure-key-vault/
Hello @PedroJunqueira ,
Thanks for using Fabric Community.
Just adding some additional reference to @AndyDDC comment inorder to get some better understanding - Read Secrets From Azure Key Vault in Microsoft Fabric Notebooks (youtube.com)
We haven’t heard from you on the last response and was just checking back to see if we answered your query.
Otherwise, will respond back with the more details and we will try to help .
Any related links on how to update a secret via Fabric Notebooks?
Hi @Anonymous Here you can see the process to update the secret from notebook https://iterationinsights.com/article/microsoft-fabric-notebooks-and-azure-key-vault/
Although I n this article, app registration process seems redundant to me.
Hi @Anonymous
Also there is this video here 😉https://www.youtube.com/watch?v=alZWTehsTcg
Thanks
Pedro
Hi @PedroJunqueira ,
Glad to know that your issue got resolved. Please continue using Fabric Community on your further queries.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
64 | |
43 | |
17 | |
12 | |
4 |
User | Count |
---|---|
72 | |
63 | |
25 | |
8 | |
7 |