如何使用 SSIS 脚本任务访问 Azure Key Vault?
需要使用C#中的SSIS脚本任务访问Azure密钥库,以将Azure SQL Connection String分配给SSIS中的Connection Manager。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
需要使用C#中的SSIS脚本任务访问Azure密钥库,以将Azure SQL Connection String分配给SSIS中的Connection Manager。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
为了达到上述要求,您可以参考以下解决方法。
创建一个应用程序ASP.NET MVC应用程序。
创建 azure keyVault Secret 用于数据库连接字符串。并从键Vault->访问策略。
授予您的应用程序许可
在应用程序级别中,使用连接的服务访问K ey Vault->连接字符串的秘密,在
webconfig
中添加的代码中添加了nuget packages
然后在您的本地测试,然后部署到Azure。例如:
web.config
有关更多信息,请参阅下面的链接: -
microsft文档:
中的Azure Web应用的身份
To Achieve the above requirements , You may refer the below workaround.
Create an application ASP.NET MVC application.
Create Azure keyvault secret for the database connection string. And give permission to your app from Key Vault->Access Policy.
In application level use the Connected Service to access the Key Vault-> Secret for connection string , Which added in the code in
webconfig
and addednuget packages
then test in your local and then deploy to Azure.For example:
web.config
For more information please refer the below links:-
MICROSFT DOCUMENTATION: Use a managed identity to connect Key Vault to an Azure web app in .NET
SO THREAD: Not able to get Azure Key-Vault working in app when deployed to Azure & Azure SDK with SSIS