Reputation: 1
I have azure account, and want to create azure data lake storage gen2 URL value from AKV secret name value,
I created AKV and created secret name and in the value I gave my storage URL like:
https://storageaccountname.dfs.core.windows.net/
I want to give this value into here dynamically from AKV secret value:
and I dont know how to do that but I am guessing may be I should use json here and give credentials I am not sure.
this json format
Upvotes: -1
Views: 125
Reputation: 11327
I want to give this value into here dynamically from AKV secret value:
To achieve this, first you need to get the AKV secret value in ADF. Use web activity to do that. Follow the steps in this documentation to get the secret value in web activity output.
It will directly, show the secret value in the web activity output.
To prevent the secret value to be shown in the output of web activity, Check Secure output option in the web activity.
Now, it will secure the output like below.
You need to pass this secret value from this activity output to the linked service.
Go to linked service and click on edit. Use the below expression in the URL dynamic content like below.
@{activity('Web1').output.value}
Ignore the warning here.
Save these edits. Here, I have given the path of my data file and use a lookup dataset after the web activity to check the result. You can see it gave me the expected results.
Upvotes: 0