question

sachingupta-1921 avatar image
0 Votes"
sachingupta-1921 asked sachingupta-1921 commented

Storing Secret token information from ADF to Key Vault dynamically

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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ShaikMaheer-MSFT .... can you please provide some help on this?

0 Votes 0 ·

1 Answer

JamesTran-MSFT avatar image
0 Votes"
JamesTran-MSFT answered sachingupta-1921 commented

@sachingupta-1921
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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JamesTran-MSFT thanks for the response. Creating a new secret version in Key Vault, I already have an idea. I guess I can implement it for now.

0 Votes 0 ·