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

Access KeyVault secret using SPN or managed identity in fabric notebook

Hi Team,

Is there a way to Access KeyVault secret using SPN or managed identity from fabric notebook?

5 REPLIES 5
v-cboorla-msft
Community Support
Community Support

Hi @sachinkrsah1995 

 

Thanks for using Microsoft Fabric Community.

Please refer to the below links to access keyvault secret from Microsoft Fabric notebook.

Link 1: Secrets From Azure Key Vault in Microsoft Fabric Notebooks - YouTube

Link 2 : Reading and Writing Secrets in Azure Key Vault Using Microsoft Fabric Notebooks (iterationinsights.c...

 

I hope this information helps. Please do let us know if you have any further questions.

 

Thank you.

Hi @v-cboorla-msft ,

In both these links I see the keyvault is being accessed using a user domain access not spn. 

Just wanted to know if there is a way to Access KeyVault secret using SPN or managed identity from fabric notebook?

Hi @sachinkrsah1995 

 

I have reached internal team and got the response.

You can do it with azure.identity lib, see key vault example here: Using Managed Private Endpoints from Fabric Spark | by Aitor Murguzur | Mar, 2024 | Medium . The mssparkutils.credentials and tokenLibrary don't support spn yet, only user identity.

 

I hope this information helps.

 

Thank you.

Hi @sachinkrsah1995 

 

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.

 

Thanks.

Hi @sachinkrsah1995 

 

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet. In case if you have any resolution please do share that same with the community as it can be helpful to others .
If you have any question relating to the current thread, please do let us know and we will try out best to help you.
In case if you have any other question on a different issue, we request you to open a new thread.

 

Thanks.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Expanding the Synapse Forums

New forum boards available in Synapse

Ask questions in Data Engineering, Data Science, Data Warehouse and General Discussion.

MayFabricCarousel

Fabric Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.