Storing Secret token information from ADF to Key Vault dynamically

sachin gupta 376 Reputation points
2021-09-14T02:10:35.697+00:00

Hello,

I have a scenario for using Azure Key vault.

1) I have stored a refresh token in Key Vault. Retrieved the token from key vault in ADF using the web activity. Call the service provider endpoint to generate the Access Token based on refresh token.
2) I want to store above generated Access token from ADF to Key Vault dynamically. How Can i do that?

I went through many articles but did not find any solution on storing the information generated in ADF to Key Vault.

Any help is much appreciated.

Thanks

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,124 questions
{count} votes

Accepted answer
  1. JamesTran-MSFT 36,376 Reputation points Microsoft Employee
    2021-09-16T23:11:59.23+00:00

    @sachin gupta
    Thank you for your post and I apologize for the delayed response!

    I'm not too familiar with Azure Data Factory, but when it comes to storing the Access token have you looked into using the Azure Key Vault REST APIs, specifically Secret Operations?

    I found a third party article that talks about - Retrieving Azure Key Vault secrets from Logic Apps using Managed Identity, which you can try to follow. However, instead of Retrieving, you can using the Set Secret operation to create a secret. If the named secret already exists, Azure Key Vault creates a new version of that secret.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


0 additional answers

Sort by: Most helpful