Dynamic Content Option for Password Field in SFTP Connector in Azure Synapse Analytics

Khushank Madaan 0 Reputation points
2024-06-12T17:19:45.9533333+00:00

I am working on a feature in Azure Synapse Analytics that connects to different SFTP servers dynamically based on a meta-data table. As I proceeded through it, I found out that in SFTP Linked Service, the PASSWORD field does not allow dynamic content. Rest of the connectors like Azure SQL DB and SQL Server allow dynamic content. Is there an issue with the SFTP Linked Service or is it due to some reason that it does not allow dynamic content?

User's image

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,010 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,901 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 17,125 Reputation points Microsoft Vendor
    2024-06-13T05:10:04.51+00:00

    Hi @Khushank Madaan

    Thanks for the question and using MS Q&A platform.

    I understand that you are trying to connect to different SFTP servers dynamically based on a meta-data table, but you have found that the PASSWORD field in the SFTP Linked Service does not allow dynamic content.

    To answer your question, the reason why the PASSWORD field in the SFTP Linked Service does not allow dynamic content is due to security reasons. Storing passwords in plain text is not secure, and allowing dynamic content in the PASSWORD field would require storing the password in plain text. Therefore, the PASSWORD field only allows static values.

    User's image

    However, there is a workaround for your scenario. You can use Azure Key Vault to store the SFTP password securely and then reference it in the Linked Service. This way, you can still connect to different SFTP servers dynamically based on a meta-data table without compromising security.

    For more information: https://video2.skills-academy.com/en-us/azure/data-factory/store-credentials-in-key-vault

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.