简体   繁体   English

Azure数据工厂V2:使用Azure Active Directory为Azure Sql服务器创建链接服务

[英]Azure Data Factory V2: Create linked service for Azure Sql server using Azure Active Directory

Creating linked service(Azure Data Factory V2) for Azure Sql supports SQL Authentication. 为Azure Sql创建链接服务(Azure Data Factory V2)支持SQL身份验证。 I want to know if it also supports Azure Active Directory Integrated Authentication. 我想知道它是否还支持Azure Active Directory集成身份验证。

As of today (Feb '18), 截至今天(18年2月),

ADFV2 can connect to some sources using Managed Service Identity (MSI). ADFV2可以使用托管服务标识(MSI)连接到某些源。 In short, the ADFV2 instance is given an identity in the Active Directory as an Active Directory Application. 简而言之,ADFV2实例在Active Directory中具有作为Active Directory应用程序的标识。 See the docs here . 在此处查看文档 Then the ADFV2 can connect to data sources as that identity. 然后,ADFV2可以作为该身份连接到数据源。

Although Azure SQL supports Managed Service Identity , accessing Azure SQL Server through MSI is not available for ADFV2 yet. 尽管Azure SQL支持托管服务身份 ,但ADFV2尚不能通过MSI访问Azure SQL Server。 From the docs : 从文档

ConnectionString: Specify information needed to connect to the Azure SQL Database instance for the connectionString property. ConnectionString:为connectionString属性指定连接到Azure SQL数据库实例所需的信息。 Only basic authentication is supported . 仅支持基本身份验证 Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. 将该字段标记为SecureString以将其安全地存储在Data Factory中,或引用存储在Azure Key Vault中的机密。

As the docs state, you can use the ADFV2 Managed Service Identity to connect to KeyVault and use keys and secrets stored there, which is probably your best best for limiting security information in configuration. docs指出,您可以使用ADFV2托管服务身份连接到KeyVault并使用存储在其中的密钥和机密,这可能是最好的限制配置安全信息的方法。

Keep in mind that the UI for ADFV2 is still quite far behind the API, so you may need to use PowerShell or Azure command line to set it up properly. 请记住,ADFV2的UI仍远远落后于API,因此您可能需要使用PowerShell或Azure命令行来正确设置它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM