Forum Discussion
Accessing Azure KeyVault secret for Fabric CopyData Action
- 2 years ago
You can use Web activity to get details from Azure Key vault
Settings :
Connection details :
where Base URL : https://<<KVName>>.vault.azure.net/secrets/<<SecretName>>?api-version=7.0
Token audience URI : https://vault.azure.net
Azuthorization : YOu can use any one like org or SP etc
You would need to create a Service principal.
https://learn.microsoft.com/en-us/entra/identity-platform/howto-create-service-principal-portal
but you can also use your org account and org authentication
Great that worked with org thanks. However the source of the CopyData does not seem to be picking up the secret using: activity('AKV').output
- NandanHegde2 years ago
Super User
Hey,
The Service principal key is the client secret and plz follow the below steps:
And you need to grant the App/service princiapl access on the key vault to read the secrets.
- coolie2 years ago
Helper I
Thanks that helps. I used org settings in the end and edited my reply, so think we overlapped. I'm trying to get the result into the CopyData action now.
- NandanHegde2 years ago
Super User
Glad it helped!!!!
Thanks for using Fabric Community.
Do send Kudo and Accept as solution for others to benefit on the solution