Azure API Management : Configuring SFTP url as the backend url

Rajeeve 1 Reputation point
2021-03-16T06:38:23.37+00:00

We have a requirement to call a SFTP url directly from the API management policy. The requirement is to create a POST method in API management and configure the SFTP site url as the backend service url in the POST method as shown below
<set-backend-service base-url = "sftp://user1:******@xx.xx.xx.xx/path" />

Does API management support SFTP protocol for backend service?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,455 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,941 Reputation points Moderator
    2021-03-16T07:22:25.577+00:00

    Hi anonymous usere-0159

    Welcome to Microsoft Q&A! Thanks for posting the question.

    Unfortunately, APIM doesn't support SFTP backend URL. Only supported backend URL is when importing an OpenAPI specification, SOAP API, or Azure resources such as an HTTP-triggered Azure Function App or Logic App. API Management also supports using other Azure resources such as a Service Fabric cluster or a custom service as an API backend.
    Reference: https://learn.microsoft.com/en-us/azure/api-management/backends

    If you want to leverage APIM feature then you can create your custom service that talks to your SFTP service and use your service in APIM as the backend URL.
    Please feel free to raise a feature request on UserVoice to support it, if this is something that you would want to see in APIM.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    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.