question

Rajeeve-0159 avatar image
0 Votes"
Rajeeve-0159 asked MayankBargali-MSFT answered

Azure API Management : Configuring SFTP url as the backend url

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:123456@xx.xx.xx.xx/path" />

Does API management support SFTP protocol for backend service?

azure-api-management
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered

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://docs.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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.