Forum Discussion
Fabric - Airflow Jobs - Notebook Access to Key Vault -mssparkutils.credentials.getSecret returns 403
- 4 months ago
Hi kaouter,
As we discussed on Discord, Fabric uses the security context of the identity that calls the API to trigger the notebook to access the keyvault.
In your case, when you have an airflow SPN triggering the notebook, that SPN is the identity that needs permissions on the keyvault for the notebook to be able to successfully authenicate to the keyvault.
It was great connecting with you on Discord and being able to help!
Hi ssrithar,
Instead, Fabric generates a session-specific identity that has no Key Vault permissions.
Are you able to provide a source for this behaviour? THis is the first time I've heard of Fabric creating it's own identities. A documentation link would be helpful to verify this.
- ssrithar4 months ago
Super User
Hi tayloramy ,
Please refres to the below links for the details from where I was able to provide the details
https://peerinsights.emono.dk/whos-calling
https://www.syntera.ch/blog/2023/10/18/how-to-access-azure-key-vault-secrets-from-fabric-notebook/
Please let me know if further details are required on the same
- tayloramy4 months ago
Super User
Hi ssrithar,
None of those links make any reference to Fabric creating new session specific identities for auth.
Please fact check before you post content on the forums, especially if it is generated from an LLM. Spreading misinformation is not helpful for the community.