我要创建一个管道,将数据从一个blob复制到另一个blob,我想使用带有密钥库的azure数据工厂版本2。我怎样才能做到这一点?
您需要首先创建Azure Key Vault
链接服务 -
{
"name": "AzureKeyVaultLinkedService",
"properties": {
"type": "AzureKeyVault",
"typeProperties": {
"baseUrl": "https://<azureKeyVaultName>.vault.azure.net"
}
}
}
然后,当您创建Azure Blob Storage
链接服务时,只需引用Azure Key Vault
属性为connectiongString
或sasUri
引用存储在密钥库中的秘密 -
{
"name": "AzureStorageLinkedService",
"properties": {
"type": "AzureStorage",
"typeProperties": {
"connectionString": {
"type": "AzureKeyVaultSecret",
"secretName": "<secret name in AKV>",
"store":{
"referenceName": "<Azure Key Vault linked service>",
"type": "LinkedServiceReference"
}
}
},
"connectVia": {
"referenceName": "<name of Integration Runtime>",
"type": "IntegrationRuntimeReference"
}
}
}
有关详细信息,请访问here。