Shohzot Nurullayev
Shohzot Nurullayev

Reputation: 1

How to give azure data lake storage gen2 URL value from AKV secret name

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:

enter image description here

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

enter image description here

Upvotes: -1

Views: 125

Answers (1)

Rakesh Govindula
Rakesh Govindula

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.

enter image description here

To prevent the secret value to be shown in the output of web activity, Check Secure output option in the web activity.

enter image description here

Now, it will secure the output like below.

enter image description here

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.

enter image description 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.

enter image description here

Upvotes: 0

Related Questions