Use key vault secret as a password in Logic App sftp connection

krisnov 16 Reputation points
2021-02-01T11:26:37.163+00:00

Hi all,

Just wondering if anyone managed to use key vault secret as a password for sftp connection in logic app?

How to set this up and which parameter to use to fetch the secret?

Many thanks,

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,111 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,839 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 22,701 Reputation points Microsoft Employee
    2021-02-02T01:37:14.087+00:00

    Hello @krisnov , Thank you for reaching out.

    Apologies for the delay. You can follow this GitHub comment here to pass key vault secrets as parameters in ARM template in your sftp connection. You can refer to this documentation regarding the template used. If it helps here is another way for adding Multi Line secret value to your Key Vault.
    Here is the documentation for how to pass key vault reference in the parameters file.

    Please let me know if there are any additional concerns, I will be glad to continue with our discussion. Thank you!

    0 comments No comments

  2. krisnov 16 Reputation points
    2021-02-02T12:13:24.683+00:00

    Thank you for the response. From my understanding there is no option to use parameters from Key Vault Connector or HTTP requests and pass them as a password parameter to the "sftp connection". This will need to be a parameter on the sftp connection level. How this can be achieved?