Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Update a secret in Azure Key Vault with a notebook

Is there a way to update a secret value in Azure Keyvault from within a notebook. 

Retrieving it works fine with: mssparkutils.credentials.getSecret
But changing it with: 
mssparkutils.credentials.putSecret() 
 is not working. 

 

Any ideas on this? 

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

    Thanks for using Fabric Community.
    Can you confirm whether you have enough permission to update? Are you following the below syntax?


    Docs to refer - Introduction to Microsoft Spark utilities - Azure Synapse Analytics | Microsoft Learn

    If you still facing the issue, can you please share the screenshot of your issue and steps you are following.

    Hope this is helpful. Please do let me know incase of further queries.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello Anonymous ,

      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

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi Anonymous ,

        We haven’t heard from you on the last response and was just checking back to see if your query was answered.
        Otherwise, will respond back with the more details and we will try to help .

        Thanks