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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
sachinkrsah1995
Microsoft Employee
Microsoft Employee

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?

6 REPLIES 6
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 @v-cboorla-msft ,

 

Managed private endpoints require users to be on an F64 SKU or above. Do you have a suggestion on how this can be achieved with a SKU below this capacity.

 

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.
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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

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

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.