Forum Discussion

tan_thiamhuat's avatar
tan_thiamhuat
Post Patron
1 year ago
Solved

Fabric -- secrets

Are we able to do the below? How or where to store the secrets, so that it can be retrieved? It seems cannot on my side. Option 1: Using Notebook Secrets In Fabric, go to the Notebooks area. C...
  • v-echaithra's avatar
    1 year ago

    Hi tan_thiamhuat ,

    Thank you for reaching out to Microsoft Community.

    The most secure and supported method to manage secrets in Fabric Notebooks is by using Azure Key Vault and accessing secrets through the built‑in utilities.

    Use the notebookutils.credentials.getSecret() method (formerly mssparkutils.credentials.getSecret) to securely fetch secrets.

    You can refer to this blog : How-To Access Azure Key Vault Secrets from Fabric Notebook - Syntera

    Hope this helps.
    Chaithra E.