通过ARM模板部署具有SFTP连接的Logic App - 无法从keyvault填充密码 [英] Deploying Logic App w/ SFTP connection via ARM Template - Unable to populate password from keyvault

查看:229
本文介绍了通过ARM模板部署具有SFTP连接的Logic App - 无法从keyvault填充密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用CI / CD和ARM模板部署具有SFTP连接的Logic App。 我将SFTP密码存储在KeyVault中,我希望管道能够从KeyVault检索密码并在API连接中填写密码字段
。 由于某些原因,CI / CD管道无法这样做。   发布成功完成但密码字段为空,我必须手动输入ATP连接的密码才能使Logic应用程序成功连接到

I am trying to use CI/CD and ARM Template to deploy a Logic App with SFTP connection.  I store the SFTP password in KeyVault and I was hoping that the pipeline would be able to retrieve the password from the KeyVault and populate the password field in the API Connection.  For some reasons the CI/CD pipeline fails to do so.   The release completes successfully but the Password field is blank and I have to manually enter the password to the ATP connection in order to get the Logic app to successfully connect to the SFTP.

下面是我在ARM模板中声明sftp_password参数的方法。

Below is how I declare the sftp_password parameter in the ARM template.

这就是sftp_password定义的方式在参数文件中。

And this is how the sftp_password defined in the parameter file.

推荐答案

你有没有尝试使用请在这种情况下使用Visual Studio,这将有助于为SFTP连接生成ARM模板,而不是手动编辑,并且更容易。 请参阅

创建用于部署逻辑应用程序的Azure Resource Manager模板


您还可以尝试使用动态ID引用机密
here

Have you tried using Please use Visual Studio for this case, that will help generate ARM template for SFTP connection, rather than manually editing, and is much easier.  Please refer to Create Azure Resource Manager templates for deploying logic apps.
You can also try referencing the secrets with dynamic ID as described here.


这篇关于通过ARM模板部署具有SFTP连接的Logic App - 无法从keyvault填充密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆