Hello,
To access keyvault you need to create a managed identity and add permission to access keyvault. And add your resource to the managed identity.
If you need more information I'm listening to you.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a data Factory and I want to access secrets in my key vault.
Both are in the same subscription and resource group
In the Key Vault I have Get and List on Secrets for the Data Factory application test-uks-projecta-adf
As a Linked Service, I add in the key vault and it works
But when I try and test (Test Connection to Secret) Operation returned an invalid status code 'NotFound'
Activity ID: 0e6a84b6-ca0e-4902-a51b-fc60d2195d9c.
And Any workflow that uses key vault now errors
I have exactly the same set up in the dev environment and it all works fine.
Test connection to Secret
Operation on target Get Bearer Token failed: Failed to get the secret from key vault, secretName: CarbonAPISubmissionFormClientSecret, secretVersion: , vaultBaseUrl: https://test-uks-carbon-kv.vault.azure.net/ . The error message is: Operation returned an invalid status code 'NotFound'.
I am completely at a loss on this one as the set up is the same as Dev. Is there anything Im missing. Why can't it access the secrets when I have given the data factory Get and List on Secrets in the Key Vault?
Hello,
To access keyvault you need to create a managed identity and add permission to access keyvault. And add your resource to the managed identity.
If you need more information I'm listening to you.
Hello anonymous user,
Thanks for the question and using MS Q&A platform.
You may checkout this article - Use Azure Key Vault secrets in pipeline activities which describes how to add Managed idenity of the Azure Data Factory in Azure Key vault and grant access polices.
Hope this will help. Please let us know if any further queries.