Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
PedroJunqueira
Frequent Visitor

Handling secrets in Fabric Notebooks

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

1 ACCEPTED 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 .

View solution in original post

4 REPLIES 4
AndyDDC
Solution Sage
Solution Sage

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 .

Hi @v-gchenna-msft 

 

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.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Update Carousel

Fabric Monthly Update - April 2024

Check out the April 2024 Fabric update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors