Forum Discussion
Post new secret value into azure key vault using web activity
I need to post a value into Key vault secret coming from a URL using web activity get method which is later stored in a set variable.
HOw can I do this ? COuld you please help me
1 Reply
To insert a new secret value into Azure Key Vault from an Azure Data Factory (ADF) pipeline, configure a Web activity to invoke the Azure Key Vault Set Secret REST API operation. The Web activity should be authenticated using the pipeline’s Managed Identity, and the Key Vault must grant that identity the secrets/set permission. The value obtained from the preceding GET request can then be passed into the Web activity request body to create or update the secret within the vault.
Set Secret - Set Secret - REST API (Azure Key Vault) | Microsoft Learn
Use Azure Key Vault secrets in pipeline activities - Azure Data Factory | Microsoft Learn
Store credentials in Azure Key Vault - Azure Data Factory | Microsoft Learn