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 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
Thanks that looks promising. Where do I get TenantID, client ID and principal Key from?
- NandanHegde2 years ago
Super User
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
- coolie2 years ago
Helper I
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.